Simplify min/max abstract length feature

Also clarify that those are words...
This commit is contained in:
Henne Vogelsang 2025-01-30 17:23:36 +01:00
parent bb59c9a4d9
commit 9514171e33
3 changed files with 10 additions and 13 deletions

View file

@ -16,10 +16,12 @@
= f.text_field :description, class: 'form-control'
.form-group
= f.label :minimum_abstract_length
(words)
%abbr{title: 'This field is required'} *
= f.number_field :minimum_abstract_length, size: 3, required: true, class: 'form-control'
.form-group
= f.label :maximum_abstract_length
(words)
%abbr{title: 'This field is required'} *
= f.number_field :maximum_abstract_length, size: 3, required: true, class: 'form-control'
.form-group