fix(character_limit_base) Displays the number of characters recommended for everyone
This commit is contained in:
parent
83c942c338
commit
1c99a7c187
1 changed files with 2 additions and 2 deletions
|
@ -20,5 +20,5 @@
|
|||
- if @champ.description.present?
|
||||
%span.fr-hint-text= render SimpleFormatComponent.new(@champ.description, allow_a: true)
|
||||
|
||||
- if @champ.textarea?
|
||||
%span.sr-only= t('.recommended_size', size: @champ.character_limit_base)
|
||||
- if @champ.textarea? && @champ.character_limit_base&.positive?
|
||||
%span.fr-hint-text= t('.recommended_size', size: @champ.character_limit_base)
|
||||
|
|
Loading…
Reference in a new issue