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:
parent
5ba10c96a2
commit
5b991fb402
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue