diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index a9eedbcfe..75f8cf741 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -421,10 +421,6 @@ header { } } - span { - color: $border; - } - .input-group { padding-top: $line-height/4; @@ -879,7 +875,7 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar { } .user-deleted { - top: -9px; + top: -4px; } .user-permissions { @@ -1388,7 +1384,7 @@ table { } } - .date { + .date-of-birth { select { float: left; @@ -1550,6 +1546,7 @@ table { .comment { margin: $line-height/4 0; + position: relative; p { margin-bottom: 0; @@ -1727,6 +1724,7 @@ table { td { padding-left: $line-height*1.5; position: relative; + word-break: break-all; &:before { color: $brand; diff --git a/app/views/verification/residence/new.html.erb b/app/views/verification/residence/new.html.erb index 2a2a425a9..23c79ca0e 100644 --- a/app/views/verification/residence/new.html.erb +++ b/app/views/verification/residence/new.html.erb @@ -40,18 +40,32 @@
-
+
<%= f.label t("verification.residence.new.document_type_label") %> <%= f.select :document_type, document_types, prompt: "", label: false %>
- <%= f.label t("verification.residence.new.document_number") %> + +
+ <%= f.label t("verification.residence.new.document_number") %> +
+ +
+ + <%= t("verification.residence.new.document_number_help_title") %> +
+ + + <%= f.text_field :document_number, label: false %>
-
+
<%= f.label t("verification.residence.new.date_of_birth") %> <%= f.date_select :date_of_birth, prompt: true, @@ -62,7 +76,9 @@
<%= f.label t("verification.residence.new.postal_code") %>

<%= t("verification.residence.new.postal_code_note") %>

- <%= f.text_field :postal_code, label: false %> +
+ <%= f.text_field :postal_code, label: false %> +
@@ -78,8 +94,8 @@ <% end %>
-
- <%= f.submit t("verification.residence.new.verify_residence"), class: "button success" %> +
+ <%= f.submit t("verification.residence.new.verify_residence"), class: "button success expanded" %>
<% end %>
diff --git a/config/locales/verification.en.yml b/config/locales/verification.en.yml index 4c78108ba..24c9ae928 100755 --- a/config/locales/verification.en.yml +++ b/config/locales/verification.en.yml @@ -54,6 +54,8 @@ en: accept_terms_text_title: I accept the terms and conditions of access of the Census date_of_birth: Date of birth document_number: Document number + document_number_help_title: Help + document_number_help_text_html: 'DNI: 12345678A
Passport: AAA000001
Residence card: X1234567P' document_type: passport: Passport residence_card: Residence card diff --git a/config/locales/verification.es.yml b/config/locales/verification.es.yml index 7434ec5b7..be676ab0f 100644 --- a/config/locales/verification.es.yml +++ b/config/locales/verification.es.yml @@ -54,6 +54,8 @@ es: accept_terms_text_title: Acepto los términos de acceso al Padrón date_of_birth: Fecha de nacimiento document_number: Número de documento + document_number_help_title: Ayuda + document_number_help_text_html: 'DNI: 12345678A
Pasaporte: AAA000001
Tarjeta de residencia: X1234567P' document_type: passport: Pasaporte residence_card: Tarjeta de residencia