<%= render 'shared/error_messages', :object => f.object %>

<%= f.input :season, input_html: { value: JUMU_SEASON, class: "span1" } %>
<%= f.association :round %>
<%= f.association :host %>
<%= f.input :begins,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :ends,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :signup_deadline,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :certificate_date,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :timetables_public %>

<%= render 'shared/error_messages', :object => f.object %>

<%= f.input :season, input_html: { value: f.object.season || JUMU_SEASON, class: "span1" } %>
<%= f.association :round %>
<%= f.association :host %>
<%= f.input :begins,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :ends,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :signup_deadline,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :certificate_date,
    prompt: { day: "Tag", month: "Monat", year: "Jahr" }, input_html: { class: "span2" } %>
<%= f.input :timetables_public %>

Set default season value in contest form only when not editing an existing contest
Set default season value in contest form only when not editing an existing contest
