Personal profile view tweaks
This commit is contained in:
parent
0844c1d999
commit
dbd8a0a4a1
|
@ -2,9 +2,8 @@
|
|||
= 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, wrapper: false
|
||||
= f.input :picture, as: :file, required: true, wrapper: :default
|
||||
= image_tag(@profile.picture.medium.url) if @profile.picture?
|
||||
|
||||
= f.hidden_field :picture_cache, class: 'image_preview', wrapper: false
|
||||
= f.input :first_name, autofocus: true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- content_for(:title) { ":: #{t :personal_profile}" }
|
||||
- content_for(:title) { PersonalProfile.model_name.human }
|
||||
|
||||
h2.entry-title = t :personal_profile
|
||||
h2.entry-title = PersonalProfile.model_name.human
|
||||
|
||||
= render 'form'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- content_for(:title) { ":: #{t :personal_profile}" }
|
||||
- content_for(:title) { PersonalProfile.model_name.human }
|
||||
|
||||
h2.entry-title = t :personal_profile
|
||||
h2.entry-title = PersonalProfile.model_name.human
|
||||
|
||||
= render 'form'
|
||||
|
|
Loading…
Reference in New Issue