osem-fcy/app/views/admin/programs/_form.html.haml
2016-06-03 14:09:37 +02:00

13 lines
997 B
Text

.row
.col-md-12
.page-header
%h1 Program
.row
.col-md-8
= semantic_form_for(@program, url: admin_conference_program_path(@conference.short_title), html: {multipart: true}) do |f|
= f.input :schedule_public, label: "Show Schedule on the home and splash page"
= f.input :schedule_fluid, label: "Allow submitters to change their event after it is scheduled"
= f.input :rating, hint: 'Enter the number of different rating levels you want to have for voting on proposals. Enter 0 if you do not want to vote on proposals.'
= f.input :languages, hint: "Enter the languages allowed for events as values of #{link_to('ISO 639-1', 'http://www.loc.gov/standards/iso639-2/php/code_list.php', target: "_blank")} language codes separated with commas. The first language would be the default language. Leave it blank if you do not want to specify languages.".html_safe
%p.text-right
= f.action :submit, as: :button, button_html: {class: 'btn btn-primary'}