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

12 lines
544 B
Plaintext
Raw Normal View History

2014-04-12 10:16:58 +00:00
.container.account-settings
= horizontal_form_for @user do |f|
legend Account settings
= f.input :username
= f.input :email, required: true
= f.input :name, label: 'Real name'
2014-07-02 15:12:54 +00:00
= 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'
2014-04-12 10:16:58 +00:00
= f.buttons do
= f.button :submit, 'Save', class: 'btn-primary'
= link_to 'Cancel', profile_path(current_user), class: 'btn'