Moderate legislation proposals (#3602)
Moderate legislation proposals - added a controller for moderation/legislation - updated view to appropriate link + added route - added a spec - Feature test - test for faded - javascripts for visual effects
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<% if can? :hide, proposal %>
|
||||
<%= link_to t("admin.actions.hide").capitalize, hide_moderation_proposal_path(proposal),
|
||||
<%= link_to t("admin.actions.hide").capitalize, hide_moderation_legislation_proposal_path(proposal),
|
||||
method: :put, remote: true, data: { confirm: t("admin.actions.confirm") } %>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<%= render "shared/geozone", geozonable: @proposal %>
|
||||
|
||||
<div class="js-moderator-proposal-actions margin">
|
||||
<%= render "proposals/actions", proposal: @proposal %>
|
||||
<%= render "legislation/proposals/actions", proposal: @proposal %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user