diff --git a/app/views/debates/_comments.html.erb b/app/views/debates/_comments.html.erb index fe7fc3cb3..22697c077 100644 --- a/app/views/debates/_comments.html.erb +++ b/app/views/debates/_comments.html.erb @@ -13,7 +13,8 @@ <% else %>
-
+
+ × <%= t("debates.show.login_to_comment", signin: link_to(t("votes.signin"), new_user_session_path), signup: link_to(t("votes.signup"), new_user_registration_path)).html_safe %> diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index ab8486b0d..4c30c9f66 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -24,11 +24,17 @@
<% if notice %> -
<%= notice %>
+
+ × + <%= notice %> +
<% end %> <% if alert %> -
<%= alert %>
+
+ × + <%= alert %> +
<% end %> <%= yield %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 585064bba..dbf21aade 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -16,7 +16,8 @@ <%= render 'layouts/header' %> <% if notice %> -
+
+ ×
<%= notice %>
@@ -24,7 +25,8 @@ <% end %> <% if alert %> -
+
+ ×
<%= alert %>
diff --git a/app/views/layouts/devise.html.erb b/app/views/layouts/devise.html.erb index f0891e305..cb4be97a5 100644 --- a/app/views/layouts/devise.html.erb +++ b/app/views/layouts/devise.html.erb @@ -15,7 +15,8 @@ <% if notice %> -
+
+ ×
<%= notice %>
@@ -23,7 +24,8 @@ <% end %> <% if alert %> -
+
+ ×
<%= alert %>
diff --git a/app/views/shared/_errors.html.erb b/app/views/shared/_errors.html.erb index b3935d770..33d48bca3 100644 --- a/app/views/shared/_errors.html.erb +++ b/app/views/shared/_errors.html.erb @@ -1,5 +1,6 @@ <% if resource.errors.any? %> -
+
+ × <%= pluralize resource.errors.count, t("form.error"), t("form.errors") %> diff --git a/app/views/verification/letter/edit.html.erb b/app/views/verification/letter/edit.html.erb index ed710cb3c..007fc13ad 100644 --- a/app/views/verification/letter/edit.html.erb +++ b/app/views/verification/letter/edit.html.erb @@ -29,7 +29,10 @@
<%= form_for @letter, as: "letter", url: letter_path, method: :put do |f| %> <% if @error %> -
<%= @error %>
+
+ × + <%= @error %> +
<% end %> <%= f.text_field :verification_code, label: t("verification.letter.edit.confirmation_code") %> diff --git a/app/views/verification/residence/_errors.html.erb b/app/views/verification/residence/_errors.html.erb index b8a3529a8..5e4a5e882 100644 --- a/app/views/verification/residence/_errors.html.erb +++ b/app/views/verification/residence/_errors.html.erb @@ -1,6 +1,7 @@ <% if @residence.errors[:residence_in_madrid].present? %> -
+
+ × <%= t("verification.residence.new.error_verifying_census") %> <%= mail_to "web.gobiernoabierto@madrid.es" %>
diff --git a/app/views/verification/sms/edit.html.erb b/app/views/verification/sms/edit.html.erb index 78babe34f..aa12debe5 100644 --- a/app/views/verification/sms/edit.html.erb +++ b/app/views/verification/sms/edit.html.erb @@ -26,7 +26,10 @@ <%= form_for @sms, as: "sms", url: sms_path, method: :put do |f| %> <% if @error %> -
<%= @error %>
+
+ × + <%= @error %> +
<% end %>