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