diff --git a/app/views/admin/geozones/_errors.html.erb b/app/views/admin/geozones/_errors.html.erb index d0f3b849f..f7f57756c 100644 --- a/app/views/admin/geozones/_errors.html.erb +++ b/app/views/admin/geozones/_errors.html.erb @@ -1,4 +1,3 @@ - <% if @geozone.errors.any? %>
diff --git a/app/views/admin/geozones/_form.html.erb b/app/views/admin/geozones/_form.html.erb index e92b98c0b..0d1dea166 100644 --- a/app/views/admin/geozones/_form.html.erb +++ b/app/views/admin/geozones/_form.html.erb @@ -2,28 +2,24 @@ <%= render 'errors' %> -
-
- <%= f.label :name, t("admin.geozones.geozone.name") %> - <%= f.text_field :name, label: false %> -
-
- <%= f.label :html_map_coordinates, t("admin.geozones.geozone.coordinates") %> - <%= f.text_field :html_map_coordinates, label: false %> -
-
- <%= f.label :external_code, t("admin.geozones.geozone.external_code") %> - <%= f.text_field :external_code, label: false %> -
-
- <%= f.label :census_code, t("admin.geozones.geozone.census_code") %> - <%= f.text_field :census_code, label: false %> -
+
+ <%= f.label :name, t("admin.geozones.geozone.name") %> + <%= f.text_field :name, label: false %> +
+
+ <%= f.label :html_map_coordinates, t("admin.geozones.geozone.coordinates") %> + <%= f.text_field :html_map_coordinates, label: false %> +
+
+ <%= f.label :external_code, t("admin.geozones.geozone.external_code") %> + <%= f.text_field :external_code, label: false %> +
+
+ <%= f.label :census_code, t("admin.geozones.geozone.census_code") %> + <%= f.text_field :census_code, label: false %>
-
-
- <%= f.submit(class: "button expanded", value: t("admin.geozones.edit.form.submit_button")) %> -
+
+ <%= f.submit(class: "button success expanded", value: t("admin.geozones.edit.form.submit_button")) %>
<% end %> diff --git a/app/views/admin/geozones/edit.html.erb b/app/views/admin/geozones/edit.html.erb index 554d82e98..45e037994 100644 --- a/app/views/admin/geozones/edit.html.erb +++ b/app/views/admin/geozones/edit.html.erb @@ -1,9 +1,7 @@ -
-
- <%= back_link_to admin_geozones_path, t("admin.geozones.edit.back") %> +<%= back_link_to admin_geozones_path, t("admin.geozones.edit.back") %> -

<%= t("admin.geozones.edit.editing") %>

- - <%= render "form" %> -
+
+

<%= t("admin.geozones.edit.editing") %>

+ +<%= render 'form' %> diff --git a/app/views/admin/geozones/index.html.erb b/app/views/admin/geozones/index.html.erb index 555d00ebe..05a175411 100644 --- a/app/views/admin/geozones/index.html.erb +++ b/app/views/admin/geozones/index.html.erb @@ -1,5 +1,5 @@ <%= link_to t("admin.geozones.index.create"), - new_admin_geozone_path, class: "button success float-right" %> + new_admin_geozone_path, class: "button float-right" %>

<%= t("admin.geozones.index.title") %>

@@ -10,7 +10,7 @@ <%= t("admin.geozones.geozone.external_code") %> <%= t("admin.geozones.geozone.census_code") %> <%= t("admin.geozones.geozone.coordinates") %> - + <%= t("admin.actions.actions") %> @@ -22,10 +22,17 @@ <%= geozone.census_code %> <%= geozone.html_map_coordinates %> - <%= link_to t("admin.geozones.index.edit"), edit_admin_geozone_path(geozone), class: 'edit-banner button hollow' %> - - - <%= link_to t("admin.geozones.index.delete"), admin_geozone_path(geozone), method: :delete, class: 'button hollow alert' %> +
+ <%= link_to t("admin.geozones.index.edit"), + edit_admin_geozone_path(geozone), + class: "button hollow expanded" %> +
+
+ <%= link_to t("admin.geozones.index.delete"), + admin_geozone_path(geozone), + method: :delete, + class: "button hollow alert expanded" %> +
<% end %> diff --git a/app/views/admin/geozones/new.html.erb b/app/views/admin/geozones/new.html.erb index 14e43e34e..0b1df5268 100644 --- a/app/views/admin/geozones/new.html.erb +++ b/app/views/admin/geozones/new.html.erb @@ -1,9 +1,7 @@ -
-
- <%= back_link_to admin_geozones_path, t("admin.geozones.new.back") %> +<%= back_link_to admin_geozones_path, t("admin.geozones.new.back") %> -

<%= t("admin.geozones.new.creating") %>

- - <%= render "form" %> -
+
+

<%= t("admin.geozones.new.creating") %>

+ +<%= render 'form' %>