% if dashboard_action.requested_for?(proposal) %>
<%= t("dashboard.create_request.success") %>
<% end %>
<% if proposal.archived? %>
<%= t("dashboard.create_request.archived") %>
<% else %>
<% if dashboard_action.request_to_administrators && !dashboard_action.requested_for?(proposal) %>
<%= form_for @dashboard_executed_action,
url: create_request_proposal_dashboard_action_path(proposal, dashboard_action) do |f| %>
<%= f.submit(class: "button", value: t("dashboard.form.request")) %>
<% end %>
<% end %>
<% end %>