Skip to content
Snippets Groups Projects
Unverified Commit 3d3bd344 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix announcement dates not being validated client-side (#20577)

parent 1af48265
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment