2014-06-30 21:26:25 +00:00
|
|
|
.container.asciicast-settings
|
|
|
|
= horizontal_form_for @asciicast do |f|
|
2013-11-18 12:04:12 +00:00
|
|
|
legend Asciicast properties
|
|
|
|
|
2014-06-30 21:26:25 +00:00
|
|
|
= f.input :title
|
|
|
|
= f.input :description, as: :text, input_html: { rows: 10 }, hint: 'Parsed with <a href="http://github.github.com/github-flavored-markdown/" target="_blank">GitHub Flavored Markdown</a>'.html_safe
|
2014-07-02 15:12:54 +00:00
|
|
|
= f.input :theme_name, label: 'Terminal theme', collection: themes_for_select, include_blank: default_asciicast_theme_label(decorated_current_user.theme)
|
2014-06-30 21:26:25 +00:00
|
|
|
= f.buttons do
|
|
|
|
= f.button :submit, 'Save', class: 'btn-primary'
|
|
|
|
= link_to 'Cancel', asciicast_path, class: 'btn'
|