app/views/racing_associations/edit.html.erb
<% @show_tabs = true %>
<%= render "shared/errors", object: @racing_association %>
<h2><%= @racing_association.name %></h2>
<%= form_for @racing_association, html: { class: "form-horizontal", role: "form" } do |f| -%>
<div class="row">
<div class="col-sm-6">
<h3>Association</h3>
<%= f.labelled_text_field :name %>
<%= f.labelled_text_field :short_name %>
<%= f.labelled_text_field :state, "State/Province" %>
<%= f.labelled_text_field :country_code %>
<%= f.labelled_text_field :usac_region %>
<%= f.labelled_text_field :email %>
<%= f.labelled_text_field :result_questions_url %>
<%= f.labelled_text_field :default_discipline %>
<%= f.labelled_text_field :default_sanctioned_by %>
</div>
<div class="col-sm-6">
<h3>Display</h3>
<div class="check-boxes">
<%= f.labelled_check_box :always_insert_table_headers %>
<%= f.labelled_check_box :flyers_in_new_window %>
<%= f.labelled_check_box :include_multiday_events_on_schedule %>
<%= f.labelled_check_box :show_all_teams_on_public_page %>
<%= f.labelled_check_box :show_calendar_view %>
<%= f.labelled_check_box :show_events_velodrome %>
<%= f.labelled_check_box :show_license %>
<%= f.labelled_check_box :show_only_association_sanctioned_races_on_calendar %>
<%= f.labelled_check_box :show_practices_on_calendar %>
<%= f.labelled_check_box :filter_schedule_by_region %>
<%= f.labelled_check_box :filter_schedule_by_sanctioning_organization %>
<%= f.labelled_check_box :show_events_sanctioning_org_event_id, "Show Sanctioning Organization's Event ID" %>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<h3>Result Import</h3>
<div class="check-boxes">
<%= f.labelled_check_box :add_members_from_results %>
<%= f.labelled_check_box :eager_match_on_license %>
<%= f.labelled_check_box :usac_results_format, "USAC Results Format" %>
</div>
</div>
<div class="col-sm-6">
<h3>Competitions</h3>
<%= f.labelled_check_box :award_cat4_participation_points, "Award Participation Points for Cat 4 Women's Series" %>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<h3>Numbers and Membership</h3>
<div class="check-boxes">
<%= f.labelled_check_box :bmx_numbers, "BMX Numbers" %>
<%= f.labelled_check_box :cx_memberships, "Cyclocross Memberships" %>
<%= f.labelled_check_box :gender_specific_numbers %>
</div>
<%= f.labelled_text_field :masters_age %>
<%= f.labelled_text_field :rental_numbers_start %>
<%= f.labelled_text_field :rental_numbers_end %>
<%= f.labelled_text_field :card_background_color %>
<%= f.labelled_text_field :card_text_color %>
</div>
<div class="col-sm-6">
<h3>Server</h3>
<%= f.labelled_check_box :ssl, "SSL" %>
<%= f.labelled_check_box :allow_iframes? %>
<%= f.labelled_text_field :rails_host %>
<%= f.labelled_text_field :static_host %>
</div>
</div>
<%= render "registration_engine", f: f %>
<div class="row">
<div class="col-sm-12">
<%= submit_tag "Save", class: "btn btn-default", id: "save" %>
<div class="created_updated pull-right">
<% if @racing_association.updated_at %>Updated <%= time_ago_in_words(@racing_association.updated_at, include_seconds: true) + " ago" %><% end %>
</div>
</div>
<% end -%>