<%= start_form_tag :action => 'create' %>
Section <%= select("exam","section",ClassSection.find_all.collect{|s|[s.section]}, :include_blank => 'true') %>
Exam Name <%= text_field_tag "exam_name" %>
<% @subjects=Subject.find(:all) %>
<% for s in @subjects %>
<%= s.subject %>
<%= select("exam","session",[["1","1"],["2","2"]])%>
<%= select_date "MyDate" %>
<%= "Description" %>
<%= text_area_tag "desc[]" %>
<% end %>
<%= submit_tag "Create" %>
<%= end_form_tag %>