14 lines
573 B
Plaintext
14 lines
573 B
Plaintext
<% if dashboard_action.requested_for?(proposal) %>
|
|
<div class="callout success">
|
|
<strong><%= t("dashboard.create_request.success") %></strong>
|
|
</div>
|
|
<% end %>
|
|
|
|
<% 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| %>
|
|
<%= f.submit(class: "button", value: t("dashboard.form.request")) %>
|
|
<% end %>
|
|
<% end %>
|