Tweak /internal/broadcast form (#6965)

Ensure that "active" defaults to false.
Ensure that the broadcast type is set to "Welcome" by default.
This commit is contained in:
Vaidehi Joshi 2020-03-31 06:38:43 -07:00 committed by GitHub
parent 5ba10c96a2
commit 5b991fb402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,10 @@
</div>
<div class="form-group">
<%= label_tag :type, "Type:" %>
<%= select_tag "type_of", options_for_select(%w[Onboarding Announcement Welcome]) %>
<%= select_tag "type_of", options_for_select(%w[Welcome Onboarding Announcement]) %>
</div>
<div class="form-group">
<%= label_tag :active, "Active:" %>
<%= select_tag :active, options_for_select([true, false]) %>
<%= select_tag :active, options_for_select([false, true]) %>
</div>
<br>