about summary refs log tree commit diff
path: root/app/views/admin/announcements/edit.html.haml
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-13 20:58:54 +0100
committerGitHub <noreply@github.com>2022-11-13 20:58:54 +0100
commit3d3bd344cb30929756e4b6ddcadddb20e16d172f (patch)
tree500fca80c966157fc54fe8c7ecf98918cd7624fc /app/views/admin/announcements/edit.html.haml
parent1af482659d6f3094934a202c6394247c491d514c (diff)
Fix announcement dates not being validated client-side (#20577)
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 e20a839b9..66c8d31a7 100644
--- a/app/views/admin/announcements/edit.html.haml
+++ b/app/views/admin/announcements/edit.html.haml
@@ -4,7 +4,7 @@
 - content_for :header_tags do
   = javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
 
-= simple_form_for @announcement, url: admin_announcement_path(@announcement) do |f|
+= simple_form_for @announcement, url: admin_announcement_path(@announcement), html: { novalidate: false } do |f|
   = render 'shared/error_messages', object: @announcement
 
   .fields-group