From e2e1087233d14bf48b3a97a9a486b693152922ec Mon Sep 17 00:00:00 2001 From: Brett McHargue Date: Wed, 21 Feb 2024 10:05:18 +0000 Subject: [PATCH] Quick update to increase character limits on inputs --- app/views/admin/content_blocks/_form.html.erb | 4 ++-- .../admin/content_page_versions/_form.html.erb | 10 +++++----- app/views/admin/content_pages/_form.html.erb | 14 +++++++------- terraform-azure/terraform-azure-web/appgateway.tf | 4 ++++ 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/app/views/admin/content_blocks/_form.html.erb b/app/views/admin/content_blocks/_form.html.erb index 9aa48003f..919ffcd2f 100644 --- a/app/views/admin/content_blocks/_form.html.erb +++ b/app/views/admin/content_blocks/_form.html.erb @@ -6,11 +6,11 @@ <%= form.govuk_error_summary order: %i[name description markdown] %>
- <%= form.govuk_text_field :name, label: {text: "Name - this should be provided by the developers, it refers to part of the fixed pages"}, disabled: content_block&.id, 'data-character-counter-target': 'input', maxlength: '254', hint: {text: "

There are remaining characters in the name.

".html_safe} %> + <%= form.govuk_text_field :name, label: {text: "Name - this should be provided by the developers, it refers to part of the fixed pages"}, disabled: content_block&.id, 'data-character-counter-target': 'input', maxlength: '10000', hint: {text: "

There are remaining characters in the name.

".html_safe} %>
- <%= form.govuk_text_field :description, label: {text: "Description - where does this appear in the site ?"}, 'data-character-counter-target': 'input', maxlength: '254', hint: {text: "

There are remaining characters in the description.

".html_safe} %> + <%= form.govuk_text_field :description, label: {text: "Description - where does this appear in the site ?"}, 'data-character-counter-target': 'input', maxlength: '10000', hint: {text: "

There are remaining characters in the description.

".html_safe} %>