From 2501d578bd824e4c6d7c8919b4514cfcb1b06d0d Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Mon, 13 Jan 2020 14:51:37 +0800 Subject: [PATCH] add checkbox for display_subtitle and display_img --- app/views/admin/announcements/_form.html.erb | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/app/views/admin/announcements/_form.html.erb b/app/views/admin/announcements/_form.html.erb index c789e22..96b6587 100644 --- a/app/views/admin/announcements/_form.html.erb +++ b/app/views/admin/announcements/_form.html.erb @@ -67,6 +67,21 @@ + +
+ <%= f.label :display_subtitle, 'display subtitle', :class => "control-label muted" %> +
+ <%= f.check_box :display_subtitle %> +
+
+ + +
+ <%= f.label :display_img, 'display img src', :class => "control-label muted" %> +
+ <%= f.check_box :display_img %> +
+
@@ -469,4 +484,4 @@ }); -<% end %> \ No newline at end of file +<% end %>