Dashboard routes have been refactored. Now instead of having resources for dashboard and routes inside a dashboard namespace the proposal routes contain a dashboar singleton containing everything related to it.
9 lines
379 B
Plaintext
9 lines
379 B
Plaintext
<% if dashboard_action.request_to_administrators && !dashboard_action.requested_for?(proposal) %>
|
|
<%= form_for @dashboard_executed_action,
|
|
url: create_request_proposal_dashboard_action_url(proposal, dashboard_action) do |f| %>
|
|
<div class="actions">
|
|
<%= f.submit(class: 'button', value: t("dashboard.form.request")) %>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|