<% unless flash[:notice].nil? %>
<%= flash[:notice] %>
<% end %>
<%= link_to "#{t('courses_text')}", courses_path %> »
<%= link_to @course.full_name, @course %> »
<%= link_to "#{t('batch')} #{@batch.name}", [@course, @batch] %> »
<%= link_to "#{t('exams_text')}", batch_exam_groups_path(@batch) %> »
<%= link_to @exam_group.name, [@batch, @exam_group] %> »
<%= t('edit_text') %>
<%= t('for_exam_group') %>- <%= @exam_group.name %>
<% form_for [@exam_group, @exam] do |f| %>
<%= error_messages_for :exam %>
<%= f.label "#{t('subject')}" %>
<%= f.select :subject_id, @subjects.map { |s| [s.name, s.id]} %>
<%= f.label "#{t('start_time')}" %>
<%= f.calendar_date_select :start_time,:readonly=>true,:popup=>"force" %>
<%= f.label "#{t('end_time')}" %>
<%= f.calendar_date_select :end_time,:readonly=>true,:popup=>"force" %>
<%= f.label "#{t('max_mark')}" %>
<%= f.text_field :maximum_marks %>
<%= f.label "#{t('min_mark')}" %>
<%= f.text_field :minimum_marks %>
<%= submit_tag "", :value => "â–º #{t('save')}", :class => "submit_button" %>
<% end %>