rename .label-not-label class into .form-label

This commit is contained in:
clemkeirua 2020-03-23 16:11:20 +01:00 committed by GitHub Action
parent d49f6e703e
commit 2ecb9cd5a2
4 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,6 @@
= # we do this trick because some html elements should use 'label' and some should be plain paragraphs
- if has_html_label?(champ)
%h2.label-not-label
%h4.form-label
= render partial: 'shared/dossiers/editable_champs/champ_label_content', locals: { champ: champ, seen_at: seen_at }
- else
= form.label champ.main_value_name do