- <%= f.submit(class: 'button expanded', value: t("admin.dashboard.actions.form.submit_button")) %>
+
diff --git a/app/views/admin/dashboard/actions/edit.html.erb b/app/views/admin/dashboard/actions/edit.html.erb
index f38dcff2e..d3361524c 100644
--- a/app/views/admin/dashboard/actions/edit.html.erb
+++ b/app/views/admin/dashboard/actions/edit.html.erb
@@ -1,11 +1,8 @@
-
-
- <%= back_link_to admin_dashboard_actions_path, t("admin.dashboard.actions.edit.back") %>
-
-
<%= t("admin.dashboard.actions.edit.editing") %>
-
- <%= form_for dashboard_action, url: { action: 'update' } do |f| %>
- <%= render 'form', f: f %>
- <% end %>
-
+
+ <%= back_link_to admin_dashboard_actions_path, t("admin.dashboard.actions.edit.back") %>
+
<%= t("admin.dashboard.actions.edit.editing") %>
+
+<%= form_for dashboard_action, url: { action: 'update' } do |f| %>
+ <%= render 'form', f: f %>
+<% end %>
diff --git a/app/views/admin/dashboard/actions/index.html.erb b/app/views/admin/dashboard/actions/index.html.erb
index 980e561a1..660fa7398 100644
--- a/app/views/admin/dashboard/actions/index.html.erb
+++ b/app/views/admin/dashboard/actions/index.html.erb
@@ -10,9 +10,11 @@
| <%= t("admin.dashboard.actions.index.action_title") %> |
<%= t("admin.dashboard.actions.index.action_type") %> |
- <%= t("admin.dashboard.actions.index.required_supports") %> |
<%= t("admin.dashboard.actions.index.action_active") %> |
- |
+ <%= t("admin.dashboard.actions.index.day_offset") %> |
+ <%= t("admin.dashboard.actions.index.required_supports") %> |
+ <%= t("admin.dashboard.actions.index.order") %> |
+ <%= t("admin.actions.actions") %> |
@@ -27,16 +29,18 @@
| <%= action.title %> |
<%= t("admin.dashboard.actions.action_type.#{action.action_type}") %> |
- <%= number_with_delimiter(action.required_supports, delimiter: '.') %> |
<%= active_human_readable(action.active) %> |
+ <%= number_with_delimiter(action.day_offset, delimiter: '.') %> |
+ <%= number_with_delimiter(action.required_supports, delimiter: '.') %> |
+ <%= action.order %> |
- <%= link_to t("admin.dashboard.actions.index.edit"),
- edit_admin_dashboard_action_path(action),
- class: 'edit-banner button hollow' %>
- <%= link_to t("admin.dashboard.actions.index.delete"),
- admin_dashboard_action_path(action),
- method: :delete,
- class: 'button hollow alert',
+ <%= link_to t("admin.dashboard.actions.index.edit"),
+ edit_admin_dashboard_action_path(action),
+ class: "button hollow" %>
+ <%= link_to t("admin.dashboard.actions.index.delete"),
+ admin_dashboard_action_path(action),
+ method: :delete,
+ class: "button hollow alert",
data: { confirm: t("admin.actions.confirm") } %>
|
diff --git a/app/views/admin/dashboard/actions/new.html.erb b/app/views/admin/dashboard/actions/new.html.erb
index 81b0098ea..adcb1a9a1 100644
--- a/app/views/admin/dashboard/actions/new.html.erb
+++ b/app/views/admin/dashboard/actions/new.html.erb
@@ -1,11 +1,8 @@
-
-
- <%= back_link_to admin_dashboard_actions_path, t("admin.dashboard.actions.new.back") %>
-
-
<%= t("admin.dashboard.actions.new.creating") %>
-
- <%= form_for dashboard_action, url: { action: 'create' } do |f| %>
- <%= render 'form', f: f %>
- <% end %>
-
+
+ <%= back_link_to admin_dashboard_actions_path, t("admin.dashboard.actions.new.back") %>
+
<%= t("admin.dashboard.actions.new.creating") %>
+
+<%= form_for dashboard_action, url: { action: 'create' } do |f| %>
+ <%= render 'form', f: f %>
+<% end %>