%-# Fedena #Copyright 2010 Foradian Technologies Private Limited # #This product includes software developed at #Project Fedena - http://www.projectfedena.org/ # #Licensed under the Apache License, Version 2.0 (the "License"); #you may not use this file except in compliance with the License. #You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #Unless required by applicable law or agreed to in writing, #software distributed under the License is distributed on an #"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #KIND, either express or implied. See the License for the #specific language governing permissions and limitations #under the License. -%>
<%= flash[:notice] %>
<% end %><%= t('subject') %> | <%= t('max_mark') %> | <%= t('min_mark') %> | <% if permitted_to? :edit, :exams %><%= t('manage') %> | <% end %>||
<%= link_to exam.subject.name, [@exam_group, exam] %> | <% if permitted_to? :edit, :exams %>
>
<%= in_place_editor_field :exam, :maximum_marks,{},{:cols=>1} %>
|
>
<%= in_place_editor_field :exam, :minimum_marks,{},{:cols=>1} %> |
<% if @exam_group.result_published %>
|
<% else %>
<%= exam.maximum_marks %> | <%= exam.minimum_marks %> | <% end %>
<%= t('subject') %> | <% if permitted_to? :edit, :exams %><%= t('manage') %> | <% end %>
<%= link_to exam.subject.name, [@exam_group, exam] %> | <% if permitted_to? :edit, :exams %>
<%= link_to t('edit_text'), edit_exam_group_exam_path(@exam_group, exam) %>
<% if @exam.removable? %>
<%= link_to t('delete_text'), [@exam_group, exam], :method => 'delete', :confirm => t('delete_confirm_msg') %>
<% else %>
|
<% end %>