Note that, in order to be consistent with most form components, we're also moving the `form_for` part of the code to the component.
7 lines
288 B
Plaintext
7 lines
288 B
Plaintext
<div class="small-12 column">
|
|
<%= back_link_to admin_dashboard_actions_path, t("admin.dashboard.actions.edit.back") %>
|
|
<h2><%= t("admin.dashboard.actions.edit.editing") %></h2>
|
|
</div>
|
|
|
|
<%= render Admin::Dashboard::Actions::FormComponent.new(dashboard_action, url_action: "update") %>
|