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/asciicasts/edit.html.slim

20 lines
748 B
Plaintext

.container
= form_for @asciicast, html: { class: 'form-horizontal' } do |f|
legend Asciicast properties
.form-group
= f.label :title, class: 'col-sm-2 control-label'
.col-sm-10 = f.text_field :title, class: 'form-control'
.form-group
= f.label :description, class: 'col-sm-2 control-label'
.col-sm-10
= f.text_area :description, class: 'form-control', rows: 15
p.help-block
| Parsed with
a[href="http://github.github.com/github-flavored-markdown/" target="_blank"]
| GitHub Flavored Markdown
.form-group
.col-sm-offset-2.col-sm-10
= f.submit 'Update asciicast', class: 'btn btn-primary'
= link_to 'Cancel', asciicast_path, class: 'btn'