% th_name_list = ['sign_up_start_time','sign_up_end_time','enrollment','status','action']%> <% time = ['year','month','day'] %>
<%=t('olympiamanagement.'+th_name) %> | <% end %>||||
---|---|---|---|---|
<%= time.map{|td| sign_up_setting["start_#{td}"]}.join('-') %> | <%= time.map{|td| sign_up_setting["end_#{td}"]}.join('-') %> | <%= @student_number = OlympiaStudentDataField.where(:sign_up_setting_id=>sign_up_setting.id).length %> | <% if sign_up_setting.active%> <%=t('olympiamanagement.active')%> <% else %> <%=t('olympiamanagement.inactive')%> <% end %> | <% if !sign_up_setting.active%> <%=t('olympiamanagement.active')%> <% end %> <%=t('olympiamanagement.view')%> |