2012-01-26 23:46:32 +00:00
|
|
|
%h3= @user.name
|
2011-10-19 22:34:05 +00:00
|
|
|
|
2012-01-26 23:46:32 +00:00
|
|
|
= form_for @user, :url => profile_update_path, :method => :put do |f|
|
|
|
|
-if @user.errors.any?
|
|
|
|
%div.alert-message.block-message.error
|
|
|
|
%ul
|
|
|
|
- @user.errors.full_messages.each do |msg|
|
|
|
|
%li= msg
|
2011-12-20 20:47:09 +00:00
|
|
|
|
2012-01-26 23:46:32 +00:00
|
|
|
.clearfix
|
|
|
|
= f.label :name
|
|
|
|
.input= f.text_field :name
|
|
|
|
.clearfix
|
|
|
|
= f.label :email
|
|
|
|
.input= f.text_field :email
|
|
|
|
.clearfix
|
|
|
|
= f.label :skype
|
|
|
|
.input= f.text_field :skype
|
|
|
|
.clearfix
|
|
|
|
= f.label :linkedin
|
|
|
|
.input= f.text_field :linkedin
|
|
|
|
.clearfix
|
|
|
|
= f.label :twitter
|
|
|
|
.input= f.text_field :twitter
|
|
|
|
|
|
|
|
= f.submit 'Save', :class => "primary btn"
|
2011-10-19 22:34:05 +00:00
|
|
|
|