* layout * user * config * header * badges, badge_achievements, layout * broadcasts * chat channels * comments.. not much really * Events * growth * listings * mod actions * mods * orgs * pages * permissions * podcasts * reactions * profile fields * reports * response templates * tools * users * Secrets * webhooks * welcome threads * . * internal * css fix * . * main element elsewhere * scope * bring back some of the old styling * . * . * . * notice * Revert schema.db * add alert * little fixes * profile fields * Update schema.rb * closing span * another span * Fixed broken admin specs. Co-authored-by: Nick Taylor <nick@dev.to>
24 lines
893 B
Text
24 lines
893 B
Text
<div class="form-group">
|
|
<%= label_tag :title, "Title:" %>
|
|
<%= text_field_tag :title, @broadcast.title, class: "form-control" %>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<%= label_tag :processed_html, "HTML" %>
|
|
<%= text_area_tag :processed_html, @broadcast.processed_html, size: "100x10", class: "form-control" %>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<%= label_tag :type_of, "Type:" %>
|
|
<%= select_tag :type_of, options_for_select(%w[Welcome Announcement], selected: @broadcast.type_of) %>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<%= label_tag :banner_style, "Banner Style:" %>
|
|
<%= select_tag :banner_style, options_for_select(%w[default brand success warning error], selected: @broadcast.banner_style), include_blank: true %>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<%= label_tag :active, "Active:" %>
|
|
<%= select_tag :active, options_for_select([false, true], selected: @broadcast.active) %>
|
|
</div>
|