style(repetition): fix button styles
This commit is contained in:
parent
61337c1dd4
commit
8153f33896
2 changed files with 2 additions and 3 deletions
|
@ -3,6 +3,5 @@
|
||||||
= render EditableChamp::RepetitionRowComponent.new(form: @form, champ: @champ, row: champs, seen_at: @seen_at)
|
= render EditableChamp::RepetitionRowComponent.new(form: @form, champ: @champ, row: champs, seen_at: @seen_at)
|
||||||
|
|
||||||
.actions{ 'data-turbo': 'true' }
|
.actions{ 'data-turbo': 'true' }
|
||||||
= link_to champs_repetition_path(@champ.id), data: { turbo_method: :post }, class: 'button add-row' do
|
= link_to champs_repetition_path(@champ.id), data: { turbo_method: :post }, class: 'fr-btn fr-btn--secondary fr-btn--icon-left fr-icon-add-circle-line fr-mb-3w' do
|
||||||
%span.icon.add
|
|
||||||
Ajouter un élément pour « #{@champ.libelle} »
|
Ajouter un élément pour « #{@champ.libelle} »
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
= render EditableChamp::EditableChampComponent.new form: form, champ: champ, seen_at: @seen_at
|
= render EditableChamp::EditableChampComponent.new form: form, champ: champ, seen_at: @seen_at
|
||||||
|
|
||||||
.flex.row-reverse{ 'data-turbo': 'true' }
|
.flex.row-reverse{ 'data-turbo': 'true' }
|
||||||
= link_to champs_repetition_path(@champ.id, champ_ids: @row.map(&:id), row_id: row_dom_id), data: { turbo_method: :delete }, class: 'button danger remove-row' do
|
= link_to champs_repetition_path(@champ.id, champ_ids: @row.map(&:id), row_id: row_dom_id), data: { turbo_method: :delete }, class: 'fr-btn fr-btn--sm fr-btn--tertiary fr-text-action-high--red-marianne' do
|
||||||
Supprimer l’élément
|
Supprimer l’élément
|
||||||
|
|
Loading…
Reference in a new issue