OpenFest: Tweak the personal profile view
This commit is contained in:
parent
9c607b6ccd
commit
1da6c0bd20
|
@ -33,11 +33,8 @@
|
|||
display: block;
|
||||
border: 1px solid #CCC;
|
||||
background-color: #F1F1F1;
|
||||
|
||||
}
|
||||
|
||||
img+input.image_preview {
|
||||
margin-left: 12.7em;
|
||||
margin-left: 12em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -2,17 +2,18 @@
|
|||
= f.error_notification
|
||||
|
||||
.form-inputs
|
||||
.input.file.required.personal_profile_picture
|
||||
= image_tag(@profile.picture.medium.url) if @profile.picture?
|
||||
= f.input :picture, as: :file, required: true
|
||||
= f.hidden_field :picture_cache
|
||||
= f.input :picture, as: :file, required: true, wrapper: false
|
||||
|
||||
= f.hidden_field :picture_cache, class: 'image_preview', wrapper: false
|
||||
= f.input :first_name, autofocus: true
|
||||
= f.input :last_name
|
||||
= f.input :public_email
|
||||
= f.input :organisation
|
||||
= f.input :github
|
||||
= f.input :twitter
|
||||
= f.input :mobile_phone
|
||||
= f.input :mobile_phone, input_html: {value: @profile.mobile_phone.try(:phony_formatted, format: :international)}
|
||||
= f.input :biography
|
||||
|
||||
.form-actions
|
||||
|
|
Loading…
Reference in New Issue