Sha256: f4dbc4d77c3688043f88a717fc07a51a4d1dee5ba943c06cb974b417c3c58146
Contents?: true
Size: 1.11 KB
Versions: 10
Compression:
Stored size: 1.11 KB
Contents
%h2= t('.edit_profile') .row .col-md-4 = errors_for(current_user) = form_for current_user, url: user_path(current_user), role: 'form' do |form| .form-group= form.text_field :email, class: 'name form-control', placeholder: t('.email') .form-group= form.password_field :password, value: '', class: 'description form-control', placeholder: t('.current_password') .form-group= form.text_field :new_password, value: '', class: 'description form-control', placeholder: t('.new_password') = form.submit t('.update'), class: 'btn btn-primary btn-sm' .col-md-5.col-md-offset-1 .row.col-sm-4 .thumbnail = user_avatar(current_user) .row.col-sm-7.col-sm-offset-1 .row %strong=t('.avatar') = form_for current_user, url: user_avatar_update_path(current_user), role: 'form', multipart: true do |form| .row %p= t('.avatar_upload_description') .row= form.file_field :avatar .row= form.text_field :avatar_url, placeholder: 'http://...' .row= form.submit t('.update_avatar'), class: 'btn btn-primary btn-sm submit_update_avatar'
Version data entries
10 entries across 10 versions & 1 rubygems