<% unless @course.nil? %>
<% if @course.time == 2008 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2009 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2010 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2011 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2012 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2013 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2014 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2015 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2016 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% elsif @course.time == 2017 %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% else %>
<%= l(:label_term) %> * |
<%= select_tag 'time', "
".html_safe %> |
<% end %>
<% end %>
|
<% unless @course.nil? %>
<% if @course.term == l(:label_spring) %>
<%= select_tag 'term', "
".html_safe %> |
<% elsif @course.term == l(:label_summer)%>
<%= select_tag 'term', "
".html_safe %> |
<% elsif @course.term == l(:label_autumn)%>
<%= select_tag 'term', "
".html_safe %> |
<% elsif @course.term == l(:label_winter)%>
<%= select_tag 'term', "
".html_safe %> |
<% else %>
<%= select_tag 'term', "
".html_safe %> |
<% end %>
<% end %> |