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

19 lines
590 B
Plaintext
Raw Normal View History

2014-11-02 11:52:19 -08:00
.container.j2-page
= render 'settings_tabs'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'
2014-11-11 11:01:24 -08:00
.panel.panel-default
.panel-body
= bootstrap_form_for(current_user, url: {action: "edit"}, method: "patch") do |f|
2014-11-11 11:01:24 -08:00
= f.text_field :display_name, label: "Your name"
2014-11-29 13:34:11 -08:00
= f.text_field :motivation_header, label: "Motivation header"
= f.text_field :website, label: "Website"
= f.text_field :location, label: "Location"
= f.text_area :bio, label: "Bio"
2014-11-11 11:01:24 -08:00
= f.submit "Save settings", class: 'btn btn-primary'