mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
chore: add stimulus commands back into home/index
This commit is contained in:
parent
df48ba134e
commit
8d1d50e925
1 changed files with 3 additions and 1 deletions
|
|
@ -18,8 +18,9 @@
|
|||
action: "change->form#submit"
|
||||
}) do |f| %>
|
||||
|
||||
<%= turbo_frame_tag "schools" do %>
|
||||
<div class="d-flex">
|
||||
<% if @districts.count > 1 %>
|
||||
<% if District.count > 1 %>
|
||||
<div class="row">
|
||||
<%= f.select :district, @districts,
|
||||
{include_blank: "Select a District", selected: params[:district] } , {id: "district-dropdown", class: "form-select", hidden: @districts.count == 1} %>
|
||||
|
|
@ -39,6 +40,7 @@
|
|||
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue