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
287 B
Plaintext
7 lines
287 B
Plaintext
<div class="small-12 column">
|
|
<%= back_link_to admin_dashboard_actions_path, t("admin.dashboard.actions.new.back") %>
|
|
<h2><%= t("admin.dashboard.actions.new.creating") %></h2>
|
|
</div>
|
|
|
|
<%= render Admin::Dashboard::Actions::FormComponent.new(dashboard_action, url_action: "create") %>
|