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.4.3 app/views/manage/schools/_form.html.haml
hackathon_manager-0.4.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.4.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.4.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.3.3 app/views/manage/schools/_form.html.haml
hackathon_manager-0.3.2 app/views/manage/schools/_form.html.haml
hackathon_manager-0.3.1 app/views/manage/schools/_form.html.haml
hackathon_manager-0.3.0 app/views/manage/schools/_form.html.haml
hackathon_manager-0.2.0 app/views/manage/schools/_form.html.haml