fix(haml-lint): TrailingEmptyLine

This commit is contained in:
Colin Darie 2024-02-05 12:54:52 +01:00
parent e3f233cd51
commit f112569192
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
28 changed files with 0 additions and 31 deletions

View file

@ -39,4 +39,3 @@
%p.fr-error-text= t('.errors.uploading')
= button_tag(**retry_button_options) do
= t(".retry")

View file

@ -34,4 +34,3 @@
%button.fr-btn.fr-btn--tertiary.fr-btn--sm.autosave-retry{ type: :button, data: { action: 'autosave-status#onClickRetryButton', autosave_status_target: 'retryButton' } }
%span.autosave-retry-label Réessayer
%span.autosave-retrying-label Enregistrement en cours…

View file

@ -6,4 +6,3 @@
%ul.fr-mt-2w.fr-btns-group.fr-btns-group--inline
%li= link_to t(".buttons.edit"), modifier_dossier_path(dossier), class: "fr-btn"
%li= button_to t(".buttons.submit"), modifier_dossier_path(dossier), class: "fr-btn fr-btn--secondary", method: :post

View file

@ -13,4 +13,3 @@
%li
= link_to error_descriptor.label, error_descriptor.anchor, class: 'error-anchor'
= "(#{error_descriptor.error_message})"

View file

@ -15,4 +15,3 @@
- if export.failed?
= button_to refresh_button_options(export)[:title], download_export_path(export_format: export.format, statut: export.statut), refresh_button_options(export)

View file

@ -7,4 +7,3 @@
- if error?
#dossier_pending_correction_error_messages.fr-messages-group{ aria: { live: "assertlive" } }
%p.fr-message.fr-message--error= error_message

View file

@ -6,4 +6,3 @@
'false'
%label.fr-label{ for: @champ.input_id, id: @champ.labelledby_id }
= render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at

View file

@ -15,4 +15,3 @@
aria: { describedby: @champ.describedby_id },
class: "width-33-desktop",
id: @champ.code_postal_input_id

View file

@ -6,4 +6,3 @@
required: @champ.required?,
aria: { describedby: @champ.describedby_id },
class: "width-33-desktop", id: @champ.input_id

View file

@ -31,4 +31,3 @@
- menu.with_item(class: "hidden inactive form-inside fr-pt-1v") do
= render partial: 'instructeurs/dossiers/instruction_button_motivation', locals: { dossier: dossier, placeholder: 'Expliquez au demandeur pourquoi ce dossier est refusé (obligatoire)', popup_class: 'refuse', process_action: 'refuser', title: 'Refuser', confirm: 'Confirmez-vous le refus de ce dossier ?' }

View file

@ -2,4 +2,3 @@
%ul
- cleaned_nearby_estimation do |estimation, i18n_key|
%li= t(".#{i18n_key}", estimation: estimation)

View file

@ -4,4 +4,3 @@
= render(Dsfr::SidemenuComponent.new) do |component|
- component.with_links(links)
.fr-col= content

View file

@ -19,4 +19,3 @@
admin_api_token_path(@api_token),
class: 'fr-btn fr-btn--tertiary-no-outline fr-btn--sm fr-btn--icon-left fr-icon-delete-line',
data: { turbo_method: :delete, confirm: "Confirmez-vous la suppression du jeton « #{@api_token.name} » ?" }

View file

@ -6,4 +6,3 @@
- label = button_label(tag)
%button.fr-tag.fr-tag--sm{ type: "button", title: button_title(tag), data: { action: 'click->tiptap#insertTag', tiptap_target: 'tag', tag_id: tag[:id], tag_label: label } }
= label