Files
grecia/app/views/admin/dashboard/actions/edit.html.erb
Javi Martín 2c0f7cf99d Move dashboard actions partial to a component
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.
2025-08-07 15:24:51 +02:00

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") %>