<%=@head%>
<%=@breadcumb%> <% @record_fields.each_with_index do |record_block,i| %> <% record_block.each do |record_item| %> <% end %> <% end %> <% @student_fields.each do |field_name| %> <% end %> <% @student_data_list.each_with_index do |field,i| %> <% @student_fields.each do |th_name|%> <% if th_name == 'serial_number' %> <%elsif th_name != 'birth_date'%> <% @value = field[th_name] %> <% @index = @field_infos.map{|hash| hash.keys[0]}.index(th_name) rescue nil%> <% if !@index.nil? %> <% (['String','Year','select_num','File'].include?(@field_infos.map{|hash| hash.values[0]}[@index]['type'])) ? (nil) : (@value=(@field_infos.map{|hash| hash.values[0]}[@index]['values'][I18n.locale.to_s][@value.to_i].to_s rescue @value))%> <% end %> <% else %> <% end %> <% end %> <%end%>
>