asciinema.org/app/views/users/edit.html.slim

14 lines
581 B
Plaintext
Raw Normal View History

2014-07-02 17:04:41 +00:00
.container
.row
.col-md-9
= horizontal_form_for @user do |f|
2014-10-17 12:23:00 +00:00
legend Your settings
2014-04-12 10:16:58 +00:00
2014-07-02 17:04:41 +00:00
= f.input :username
= f.input :email, required: true
= f.input :name, label: 'Real name'
= f.input :theme_name, label: 'Terminal theme', collection: themes_for_select, include_blank: default_user_theme_label, hint: 'Used for all recordings unless custom theme chosen for a specific recording'
= f.buttons do
= f.button :submit, 'Save', class: 'btn-primary'
= link_to 'Cancel', profile_path(current_user), class: 'btn'