Skip to content

Commit 4f9ede5

Browse files
committed
diverlist in boatlog for active divers only
1 parent 2032f55 commit 4f9ede5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/boat_logs/_replicate_fields.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="control-group">
1313
<label class="control-label diver_type_label">Diver</label>
1414
<div class="controls">
15-
<%= f.collection_select :diver_id, Diver.order(:diver_name).all, :id, :diver_name, { :include_blank => "" }%>
15+
<%= f.collection_select :diver_id, Diver.active_divers.order(:diver_name).all, :id, :diver_name, { :include_blank => "" }%>
1616
<%= f.link_to_remove "Remove Replicate", {:tabindex => "-1"} %>
1717
</div>
1818
</div>

0 commit comments

Comments
 (0)