Sha256: 15cad712a7597920ced8a56147da27ab15ea1c708e4fb46da4d33ffe657762f9

Contents?: true

Size: 558 Bytes

Versions: 15

Compression:

Stored size: 558 Bytes

Contents

.form-container
  = bs_horizontal_simple_form_for @school, url: url_for(action: @school.new_record? ? "create" : "update", controller: "schools"), html: { "data-validate" => "form" } do |f|

    - if f.error_notification.present?
      #disclaimer
        = f.error_notification

    .form-inputs
      = f.input :name
      = f.input :address
      = f.input :city
      = f.input :state
      = f.association :bus_list, include_blank: "(none)"

    .center
      = f.button :submit, value: ( @school.new_record? ? 'Create' : 'Save' ), class: 'btn-primary'

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hackathon_manager-0.11.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.11.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.11.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.10.3 app/views/manage/schools/_form.html.haml
hackathon_manager-0.10.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.10.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.10.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.9.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.9.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.9.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.8.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.8.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.8.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.7.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.7.0 app/views/manage/schools/_form.html.haml