diff --git a/app/views/admin/broadcasts/_form.html.erb b/app/views/admin/broadcasts/_form.html.erb index c7cc8c784..f5b1673ef 100644 --- a/app/views/admin/broadcasts/_form.html.erb +++ b/app/views/admin/broadcasts/_form.html.erb @@ -1,24 +1,26 @@ -
- <%= label_tag :title, "Title:" %> - <%= text_field_tag :title, @broadcast.title, class: "form-control" %> -
+
+
+ <%= label_tag :title, "Title", class: "crayons-field__label" %> + <%= text_field_tag :title, @broadcast.title, class: "crayons-textfield" %> +
-
- <%= label_tag :processed_html, "HTML" %> - <%= text_area_tag :processed_html, @broadcast.processed_html, size: "100x10", class: "form-control" %> -
+
+ <%= label_tag :processed_html, "HTML", class: "crayons-field__label" %> + <%= text_area_tag :processed_html, @broadcast.processed_html, size: "100x10", class: "crayons-textfield" %> +
-
- <%= label_tag :type_of, "Type:" %> - <%= select_tag :type_of, options_for_select(%w[Welcome Announcement], selected: @broadcast.type_of) %> -
+
+ <%= label_tag :type_of, "Type", class: "crayons-field__label" %> + <%= select_tag :type_of, options_for_select(%w[Welcome Announcement], selected: @broadcast.type_of), class: "crayons-select"%> +
-
- <%= 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 %> -
+
+ <%= label_tag :banner_style, "Banner Style", class: "crayons-field__label" %> + <%= select_tag :banner_style, options_for_select(%w[default brand success warning error], selected: @broadcast.banner_style), include_blank: true, class: "crayons-select"%> +
-
- <%= label_tag :active, "Active:" %> - <%= select_tag :active, options_for_select([false, true], selected: @broadcast.active) %> +
+ <%= label_tag :active, "Active", class: "crayons-field__label" %> + <%= select_tag :active, options_for_select([false, true], selected: @broadcast.active), class: "crayons-select"%> +
diff --git a/app/views/admin/broadcasts/edit.html.erb b/app/views/admin/broadcasts/edit.html.erb index 9cf1c3258..5c38bd157 100644 --- a/app/views/admin/broadcasts/edit.html.erb +++ b/app/views/admin/broadcasts/edit.html.erb @@ -2,6 +2,6 @@
<%= form_for([:admin, @broadcast], method: :patch) do %> <%= render "form" %> - <%= submit_tag "Update broadcast", class: "btn btn-primary" %> + <%= submit_tag "Update broadcast", class: "crayons-btn mt-4" %> <% end %>
diff --git a/app/views/admin/broadcasts/index.html.erb b/app/views/admin/broadcasts/index.html.erb index 7d95972be..d9221d45d 100644 --- a/app/views/admin/broadcasts/index.html.erb +++ b/app/views/admin/broadcasts/index.html.erb @@ -1,20 +1,20 @@ -