daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Mar 8th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <h1>Equipment Inventory</h1>
  2.  
  3. <% if @instruments.blank? %>
  4.     <p>There are not any equipment currently in the system.</p>
  5. <% else %>
  6.     <p>There are the currently available equipment in our system: </p>
  7.         <% @instruments.each do |c| %>
  8.                 <%= link_to c.name, {:action => 'show', :id => c.id} -%>
  9.                 <%= start_form_tag :action => 'check_availability' %>
  10.                     <%= calendar_date_select :c, :check_date %>
  11.                     <%= button_to 'Reserve', {:action => "check_availability", :id => c.id }%> 
  12.                 <%= end_form_tag %>
  13.             <hr />
  14.         <% end %>
  15. <% end %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top