forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html.erb
19 lines (18 loc) · 885 Bytes
/
index.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% js_bundle :grading_standards %>
<% jammit_css :grading_standards %>
<% content_for :page_title, t(:title, "Grading Standards") %>
<% content_for :right_side do %>
<div class="rs-margin-all">
<a href="#" class="btn button-sidebar-wide add_standard_link"><i class="icon-add"></i> <%= t 'buttons.add', 'Add Grading Scheme' %></a>
</div>
<% end %>
<h2><%= t :heading_grading_schemes, 'Grading Schemes' %></h2>
<div id="standards">
<% @standards.each do |standard| %>
<%= render :partial => 'shared/grading_standard', :object => standard, :locals => {:grading_standard_list => true} %>
<% end %>
</div>
<div style="display: none;">
<a href="<%= context_url(@context, :context_grading_standards_url) %>" id="create_grading_standard_url"> </a>
<%= render :partial => 'shared/grading_standard', :object => nil, :locals => {:grading_standard_list => true} %>
</div>