extended user profile with social fields
This commit is contained in:
parent
9ad444f02e
commit
59704f481e
10 changed files with 93 additions and 4 deletions
|
@ -25,13 +25,26 @@
|
|||
= f.label :password_confirmation
|
||||
%br
|
||||
= f.password_field :password_confirmation
|
||||
.span-11
|
||||
.field.prepend-top.append-bottom
|
||||
.field.prepend-top
|
||||
= f.check_box :admin
|
||||
= f.label :admin
|
||||
.span-11
|
||||
.field.prepend-top
|
||||
= f.text_field :projects_limit, :class => "small_input"
|
||||
= f.label :projects_limit
|
||||
|
||||
.field
|
||||
= f.label :skype
|
||||
%br
|
||||
= f.text_field :skype
|
||||
.field
|
||||
= f.label :linkedin
|
||||
%br
|
||||
= f.text_field :linkedin
|
||||
.field
|
||||
= f.label :twitter
|
||||
%br
|
||||
= f.text_field :twitter
|
||||
.clear
|
||||
%br
|
||||
.actions
|
||||
|
|
|
@ -14,6 +14,17 @@
|
|||
%b Projects limit:
|
||||
= @admin_user.projects_limit
|
||||
|
||||
%p
|
||||
%b Skype:
|
||||
= @admin_user.skype
|
||||
%p
|
||||
%b LinkedIn:
|
||||
= @admin_user.linkedin
|
||||
%p
|
||||
%b Twitter:
|
||||
= @admin_user.twitter
|
||||
|
||||
|
||||
.clear
|
||||
= link_to 'Edit', edit_admin_user_path(@admin_user)
|
||||
\|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue