diff --git a/app/views/account/show.html.erb b/app/views/account/show.html.erb index ad118d118..bf749bbd2 100644 --- a/app/views/account/show.html.erb +++ b/app/views/account/show.html.erb @@ -2,13 +2,13 @@
<%= link_to t("account.show.change_credentials_link"), edit_user_registration_path, class: 'button radius small secondary right' %> - + @@ -18,25 +18,23 @@ <%= render 'shared/errors', resource: @account %>
-
+
+

<%= t("account.show.avatar")%>

+ <%= avatar_image(@account, seed: @account.id, size: 60) %> +

<%= t("account.show.personal")%>

+
<% if @account.organization? %> - <%= f.fields_for :organization do |fo| %> <%= fo.text_field :name, autofocus: true, placeholder: t("account.show.organization_name_label") %> <% end %> <%= f.text_field :phone_number, placeholder: t("account.show.phone_number_label") %> - <% else %> + <% else %> <%= f.text_field :username, placeholder: t("account.show.username_label") %> <% end %> - -
- -
-

<%= t("account.show.avatar")%>

- <%= avatar_image(@account, seed: @account.id, size: 100) %> +

<%= t("account.show.notifications")%>

diff --git a/app/views/verification/residence/new.html.erb b/app/views/verification/residence/new.html.erb index 6d890c8c9..23b88f957 100644 --- a/app/views/verification/residence/new.html.erb +++ b/app/views/verification/residence/new.html.erb @@ -6,23 +6,33 @@ <%= form_for @residence, as: "residence", url: residence_path do |f| %> <%= render 'errors' %> - <%= f.select :document_type, document_types, prompt: "" %> - <%= f.text_field :document_number %> +
+
+ <%= f.select :document_type, document_types, prompt: "" %> +
+
+ <%= f.text_field :document_number %> +
+
+ +
<%= f.date_select :date_of_birth, prompt: true, start_year: 1900, end_year: 16.years.ago.year %> - <%= f.text_field :postal_code %> - -
- - <%= f.check_box :terms_of_service, label: t("verification.residence.new.accept_terms_text") %> - - - <%= link_to t("verification.residence.new.accept_terms_link"), '/census_terms', target: "_blank" %> -
- <%= f.submit "Verify" %> +
+ <%= f.text_field :postal_code %> +
+ +
+ <%= f.check_box :terms_of_service, label: t("verification.residence.new.accept_terms_text") %> + <%= link_to t("verification.residence.new.accept_terms_link"), '/census_terms', target: "_blank" %> +
+ +
+ <%= f.submit "Verify" %> +
<% end %>
\ No newline at end of file