<%=t('olympiamanagement.sign_up_setting')%>
<%=form_for @sign_up_setting ,:url=>{:controller=>"olympiamanagements" ,:action=>"update_school_data",:type=>"sign_up_setting",:id=>@sign_up_setting.id} do |form|%>
<%=t('olympiamanagement.delete_all_sign_up_data')%>
<%=render :partial=>'checkbox',:locals=>{:name=>t('olympiamanagement.new_sign_up'),:params_name=>'new_sign_up',:id=>'new_sign_up',:extra_class=>'lleft red_text',:is_checked=>nil}%>
<%= t('olympiamanagement.StudentArea')%>
<% index = @student_data_field.student_data_fields.map{|h| h.keys.first}.index('StudentArea') %> <% for i in 0...(@student_data_field.student_data_fields[index]['StudentArea']['values'][@site_locales.first.to_s].count) %>
❌
<% @site_locales.each_with_index do |locale,locale_index|%>
> <% end %>
<% @site_locales.each_with_index do |locale,locale_index|%>
<%=t(locale)%>
<% end %>
<% end %>
<%=t(:add)%>
<%= t('olympiamanagement.sign_up_start_time')%>
<%= t('olympiamanagement.a_d_')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][start_year]',:id=>'start_year',:value=> @sign_up_setting['start_year'],:unit=>'',:range=>[Time.now.year-10,Time.now.year+10],:extra_class=>'lleft',:is_add_zero=>false}%>
<%= t('olympiamanagement.year')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][start_month]',:id=>'start_month',:value=>@sign_up_setting['start_month'],:unit=>'',:range=>[1,12],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.month')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][start_day]',:id=>'start_day',:value=>@sign_up_setting['start_day'],:unit=>'',:range=>[1,31],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.day')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][start_o_clock]',:id=>'start_o_clock',:value=>@sign_up_setting['start_o_clock'],:unit=>'',:range=>[0,23],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.o_clock')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][start_minute]',:id=>'start_minute',:value=>@sign_up_setting['start_minute'],:unit=>'',:range=>[0,59],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.minute')%>
<%= t('olympiamanagement.sign_up_end_time')%>
<%= t('olympiamanagement.a_d_')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][end_year]',:id=>'end_year',:value=>@sign_up_setting['end_year'],:unit=>'',:range=>[Time.now.year-10,Time.now.year+10],:extra_class=>'lleft',:is_add_zero=>false}%>
<%= t('olympiamanagement.year')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][end_month]',:id=>'end_month',:value=>@sign_up_setting['end_month'],:unit=>'',:range=>[1,12],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.month')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][end_day]',:id=>'end_day',:value=>@sign_up_setting['end_day'],:unit=>'',:range=>[1,31],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.day')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][end_o_clock]',:id=>'end_o_clock',:value=>@sign_up_setting['end_o_clock'],:unit=>'',:range=>[0,23],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.o_clock')%>
<%=render :partial=>'select',:locals=>{:name=>'[sign_up_setting][end_minute]',:id=>'end_minute',:value=>@sign_up_setting['end_minute'],:unit=>'',:range=>[0,59],:extra_class=>'lleft',:is_add_zero=>true}%>
<%= t('olympiamanagement.minute')%>
<%= t('olympiamanagement.default_password') %>
>
<%=render :partial=>'checkbox',:locals=>{:name=>t('olympiamanagement.sign_up_setting_hint'),:params_name=>'[sign_up_setting][set_default_password]',:id=>'set_default_password',:extra_class=>'lleft',:is_checked=>nil}%>
<%= t('olympiamanagement.remark')+"(#{t('olympiamanagement.print_registration_form')})" %>
<% @site_locales.each_with_index do |locale,i|%>
>
<%=t(locale.to_s)%>
<% end %>
<% @site_locales.each_with_index do |locale,i|%>
">
<%=@sign_up_setting.remark_field[locale] %>
<% end %>
<%= t('olympiamanagement.registration_instructions') %>
<% @site_locales.each_with_index do |locale,i|%>
>
<%=t(locale.to_s)%>
<% end %>
<% @site_locales.each_with_index do |locale,i|%>
">
<%=@sign_up_setting.registration_instructions[locale] %>
<% end %>
<% end %>