diff --git a/app/assets/images/user_default_big.jpg b/app/assets/images/user_default_big.jpg new file mode 100644 index 000000000..d1c5bcea2 Binary files /dev/null and b/app/assets/images/user_default_big.jpg differ diff --git a/app/assets/stylesheets/participacion.scss b/app/assets/stylesheets/participacion.scss index 7469007b3..2b9cfd983 100644 --- a/app/assets/stylesheets/participacion.scss +++ b/app/assets/stylesheets/participacion.scss @@ -370,12 +370,16 @@ form { line-height: $line-height; } - input[type]:not([type=submit]) { + input[type]:not([type=submit]):not([type=file]) { background: $input-bg; height: $line-height*2; margin-bottom: rem-calc(16); } + input[type=file] { + margin: rem-calc(12) 0; + } + .note { display: block; font-size: rem-calc(13); @@ -390,6 +394,7 @@ form { .checkbox { display: inline-block; font-size: rem-calc(14); + font-weight: normal; line-height: $line-height*2; margin: 0 0 0 rem-calc(6); vertical-align: top; diff --git a/app/views/account/show.html.erb b/app/views/account/show.html.erb index 6a2d6d416..6d1f4d9cd 100644 --- a/app/views/account/show.html.erb +++ b/app/views/account/show.html.erb @@ -1,6 +1,8 @@
-
-

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

+
+ <%= link_to t("account.show.change_credentials_link"), edit_user_registration_path, class: 'button radius small secondary right' %> + +

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

<%= form_for @account, as: :account, url: account_path do |f| %> @@ -17,16 +19,13 @@
+

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

<%= f.label :first_name, t("account.show.first_name_label") %> <%= f.text_field :first_name, placeholder: t("account.show.first_name_label") %> -
-
<%= f.label :last_name, t("account.show.last_name_label") %> <%= f.text_field :last_name, placeholder: t("account.show.last_name_label") %> -
-
<%= f.label :nickname, t("account.show.nickname_label") %> <%= f.text_field :nickname, placeholder: t("account.show.nickname_label") %> <%= f.label :use_nickname do %> @@ -44,9 +43,6 @@ <%= f.check_box :email_on_debate_comment %> <%= t("account.show.email_on_debate_comment_label") %> <% end %> -
- -
<%= f.label :email_on_comment_reply do %> <%= f.check_box :email_on_comment_reply %> <%= t("account.show.email_on_comment_reply_label") %> @@ -59,8 +55,4 @@
<% end %>
- -
- <%= link_to t("account.show.change_credentials_link"), edit_user_registration_path, class: 'button radius small secondary' %> -
-
+
\ No newline at end of file diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index b670b6776..8f328c230 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -1,5 +1,5 @@
-