Retrospring/app/views/user/edit.html.haml

19 lines
731 B
Plaintext

.container.j2-page
= render 'settings_tabs'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'
.panel.panel-default
.panel-body
= bootstrap_form_for(current_user, url: {action: "edit"}, method: "patch") do |f|
= f.text_field :display_name, label: "Your name"
= f.text_field :motivation_header, label: "Motivation header", placeholder: 'Ask me anything!'
= f.text_field :website, label: "Website", placeholder: 'http://bad-dragon.com'
= f.text_field :location, label: "Location", placeholder: 'Germoney'
= f.text_area :bio, label: "Bio", placeholder: 'In Bio war ich nie gut x--DD'
= f.submit "Save settings", class: 'btn btn-primary'