Sha256: e4f43699a78a30301257c5a9fc7c0a063dae9399dac1498094f98e9cbce82593

Contents?: true

Size: 522 Bytes

Versions: 29

Compression:

Stored size: 522 Bytes

Contents

.form-container
  = 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' )

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
hackathon_manager-0.6.6 app/views/manage/schools/_form.html.haml
hackathon_manager-0.6.5 app/views/manage/schools/_form.html.haml
hackathon_manager-0.6.4 app/views/manage/schools/_form.html.haml
hackathon_manager-0.6.3 app/views/manage/schools/_form.html.haml
hackathon_manager-0.6.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.6.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.6.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.11 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.10 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.9 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.8 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.7 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.6 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.5 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.4 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.3 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.5.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.4.4 app/views/manage/schools/_form.html.haml