
<% if @reserves %>
<h3>Number of reserves: <%= @reserves.count %></h3>
<%= form_tag({controller: "courses", action: "delete"}, method: "post", class: "reserves-list") do %>
<%= hidden_field_tag("id", params[:id]) %>
<ul class="list-with-floats">
<li class="head"><%= check_box_tag("select_all") %>
<%= label_tag("select_all", "Select all reserves") %> <span class="delete " title="Remove selected reserve(s)"><%=submit_tag(value="Remove selected reserve(s)", {:class => "btn btn-submit chks_submit", :id => "delete_btn", :disabled => "disabled"}) %></span> <span class="float-right"><a href="<%= new_reserve_path  %>" class="link-icon"><%= icon('plus-circle') %> Add new Reserve</a></span>
</li>
</ul>
<ul class="list-with-floats chk_grp">
<% @reserves.each do |reserve| %>
<li><%= render partial: 'reserves/simple_reserve', locals: {reserve: reserve} %></li>
<% end %>
</ul>
<% end %>
<script>checkBoxSetup()</script>
<% end %>


<% if @reserves %>
<h3>Number of reserves: <%= @reserves.count %></h3>
<%= form_tag({controller: "courses", action: "delete"}, method: "post", class: "reserves-list") do %>
<%= hidden_field_tag("id", params[:id]) %>
<ul class="list-with-floats">
<li class="head"><%= check_box_tag("select_all") %>
<%= label_tag("select_all", "Select all reserves") %> <span class="delete " title="Remove selected reserve(s)"><%=submit_tag(value="Remove selected reserve(s)", {:class => "btn btn-submit chks_submit", :id => "delete_btn", :disabled => "disabled"}) %></span> 
<span class="float-right"><a href="<%= new_reserve_path  %>" class="link-icon" title="Add New Reserve"><%= icon('plus-circle') %> Add New Reserve</a></span>
</li>
</ul>
<ul class="list-with-floats chk_grp">
<% @reserves.each do |reserve| %>
<li><%= render partial: 'reserves/simple_reserve', locals: {reserve: reserve} %></li>
<% end %>
</ul>
<% end %>
<script>checkBoxSetup()</script>
<% end %>

Add title to Add New Reserve
Add title to Add New Reserve
