small design review : icon - spaces - placeholder
This commit is contained in:
parent
62382b1209
commit
faf5cb8034
5 changed files with 6 additions and 9 deletions
|
@ -34,6 +34,6 @@
|
|||
- else
|
||||
= render partial: 'publication_form_inputs', locals: { procedure: procedure, closed_procedures: @closed_procedures, form: f }
|
||||
|
||||
.flex.fr-mb-5w
|
||||
%ul.fr-btns-group.fr-btns-group--inline-md.fr-btns-group--icon-left
|
||||
= f.submit t('.submit'), { disabled: procedure.errors.present?, class: "fr-btn fr-btn--primary", id: 'publish' }
|
||||
= link_to t('.back_to_procedure'), admin_procedure_path(id: @procedure), class: 'fr-btn fr-btn--secondary fr-btn--icon-left fr-icon-arrow-go-back-line fr-ml-1w'
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
= text_field_tag(:lien_site_web, procedure.lien_site_web,
|
||||
required: true,
|
||||
class: 'fr-input',
|
||||
autocomplete: 'off',
|
||||
placeholder: t('activerecord.attributes.procedure.lien_site_web_placeholder'))
|
||||
autocomplete: 'off')
|
||||
|
||||
- if closed_procedures.present?
|
||||
.fr-select-group
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
= link_to 'PDF', commencer_dossier_vide_for_revision_path(@procedure.active_revision), target: "_blank", rel: "noopener", class: 'fr-btn fr-btn--tertiary fr-btn--icon-left fr-icon-printer-line', id: "pdf-procedure"
|
||||
|
||||
- if @procedure.brouillon? || @procedure.draft_changed?
|
||||
= link_to 'Tester la démarche', commencer_url(@procedure.path, test: true), target: :blank, rel: :noopener, class: 'fr-btn fr-btn--tertiary fr-btn--icon-left fr-icon-edit-line'
|
||||
= link_to 'Tester la démarche', commencer_url(@procedure.path, test: true), target: :blank, rel: :noopener, class: 'fr-btn fr-btn--tertiary fr-btn--icon-left fr-icon-flashlight-line'
|
||||
|
||||
- if @procedure.publiee? || @procedure.brouillon?
|
||||
= link_to 'Envoyer une copie', admin_procedure_transfert_path(@procedure), class: 'fr-btn fr-btn--tertiary fr-btn--icon-left fr-icon-arrow-right-up-line'
|
||||
= link_to 'Envoyer une copie', admin_procedure_transfert_path(@procedure), class: 'fr-btn fr-btn--tertiary fr-btn--icon-left fr-icon-send-plane-line'
|
||||
|
||||
- if !@procedure.publiee? && !@procedure.close? && !@procedure.depubliee?
|
||||
= link_to 'Publier', admin_procedure_publication_path(@procedure), class: 'fr-btn fr-btn--primary fr-btn--icon-left fr-icon-success-line', id: 'publish-procedure-link', data: { disable_with: "Publication..." }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue