
Untitled
By: a guest on
Jun 17th, 2012 | syntax:
None | size: 0.71 KB | hits: 11 | expires: Never
<div class="nested-fields">
<fieldset>
<legend>Patient Device Assignment</legend>
<p>
<%= f.label :patient_id, "Patient" %><br />
<%= f.collection_select(:patient_id, :patients, :id, :full_name_location, :prompt => true) %>
</p>
<p>
<%= f.label :device_id, "Device" %><br />
<%= f.collection_select(:device_id, :devices, :id, :serial_number, :prompt => true) %>
</p>
<p>
<%= f.label :monitor_start, "Start Date" %><br />
<%= f.date_select :monitor_start %>
</p>
<p>
<%= f.label :monitor_end, "End Date" %><br />
<%= f.date_select :monitor_end %>
</p>
<%= link_to_remove_association "Remove Patient Assignment", f %>
</fieldset>
</div>