Use previously extracted model constants in form maxlength
attributes (#32113)
This commit is contained in:
parent
04dd3a9eb6
commit
e02e88bff4
5 changed files with 10 additions and 8 deletions
|
@ -25,7 +25,7 @@
|
|||
.fields-group
|
||||
= f.input :site_short_description,
|
||||
as: :text,
|
||||
input_html: { rows: 2, maxlength: 200 },
|
||||
input_html: { rows: 2, maxlength: Form::AdminSettings::DESCRIPTION_LIMIT },
|
||||
wrapper: :with_block_label
|
||||
|
||||
.fields-row
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue