diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-13 20:58:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 20:58:54 +0100 |
commit | 3d3bd344cb30929756e4b6ddcadddb20e16d172f (patch) | |
tree | 500fca80c966157fc54fe8c7ecf98918cd7624fc /app/views | |
parent | 1af482659d6f3094934a202c6394247c491d514c (diff) |
Fix announcement dates not being validated client-side (#20577)
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/announcements/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/admin/announcements/new.html.haml | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/app/views/admin/announcements/new.html.haml b/app/views/admin/announcements/new.html.haml index d5881b7aa..57b7d5e0c 100644 --- a/app/views/admin/announcements/new.html.haml +++ b/app/views/admin/announcements/new.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_announcements_path do |f| += simple_form_for @announcement, url: admin_announcements_path, html: { novalidate: false } do |f| = render 'shared/error_messages', object: @announcement .fields-group |