You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/app/views/users/edit.html.slim

14 lines
584 B
Plaintext

.container
.row
.col-md-9
= horizontal_form_for @user do |f|
legend Account settings
= 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'