about summary refs log tree commit diff
path: root/app/views/admin/announcements/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/announcements/edit.html.haml')
-rw-r--r--app/views/admin/announcements/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/announcements/edit.html.haml b/app/views/admin/announcements/edit.html.haml
index c5c605e93..5f56db5e7 100644
--- a/app/views/admin/announcements/edit.html.haml
+++ b/app/views/admin/announcements/edit.html.haml
@@ -14,7 +14,7 @@
   .fields-group
     = f.input :text, wrapper: :with_block_label
 
-  - if @announcement.scheduled_at.present? && !@announcement.published?
+  - unless @announcement.published?
     .fields-group
       = f.input :scheduled_at, include_blank: true, wrapper: :with_block_label