Skip to content

Commit

Permalink
fix: failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticspoon committed Aug 10, 2024
1 parent 63622dc commit b5b04fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/casa_org/_standard_court_orders.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</tr>
</thead>
<tbody>
<% @standard_court_orders.each do |standard_court_order| %>
<% @standard_court_orders&.each do |standard_court_order| %>
<% id = "standard_court_order-#{standard_court_order.id}" %>
<tr>
<td scope="row" class="min-width">
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_court_order_list.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<%= label_tag :selectedCourtOrder, "Court Order Type" %>
<div class="select-position">
<%= select_tag :selectedCourtOrder,
options_for_select(casa_case.casa_org.standard_court_orders.map(&:value)),
options_for_select(current_organization.standard_court_orders.map(&:value)),
{ include_blank: "Create custom court order", data: {court_order_form_target: "selectedCourtOrder"} }
%>
</div>
Expand Down

0 comments on commit b5b04fc

Please sign in to comment.