2012-03-03 08:01:32 +00:00
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :name, t("activerecord.attributes.user.name")
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.text_field :name
|
|
|
|
|
.both
|
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :email, t("activerecord.attributes.user.email")
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.text_field :email
|
|
|
|
|
.both
|
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :site, t("activerecord.attributes.user.site")
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.text_field :site
|
|
|
|
|
.both
|
2012-03-03 18:05:02 +00:00
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :language, t("activerecord.attributes.user.language")
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.select :language, User::LANGUAGES_FOR_SELECT
|
|
|
|
|
.both
|
2012-03-03 08:01:32 +00:00
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :company, t("activerecord.attributes.user.company")
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.text_field :company
|
|
|
|
|
.both
|
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :location, t("activerecord.attributes.user.location")
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.text_field :location
|
|
|
|
|
.both
|
2012-03-03 18:05:02 +00:00
|
|
|
|
.leftlist
|
2012-03-05 17:39:58 +00:00
|
|
|
|
= f.label :avatar, t("activerecord.attributes.user.avatar")
|
2012-03-03 18:05:02 +00:00
|
|
|
|
.rightlist
|
|
|
|
|
= image_tag(avatar_url(@user, :medium))
|
|
|
|
|
%br
|
|
|
|
|
%br
|
|
|
|
|
= f.file_field :avatar
|
|
|
|
|
.both
|
2012-03-03 08:01:32 +00:00
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :professional_experience, t("activerecord.attributes.user.professional_experience")
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.text_area :professional_experience
|
|
|
|
|
.both
|
|
|
|
|
.leftlist
|
|
|
|
|
\
|
|
|
|
|
.rightlist
|
|
|
|
|
= submit_tag t("layout.save")
|
|
|
|
|
.both
|