forked from demarches-simplifiees/demarches-simplifiees.fr
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
22 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
- if champ.value.blank? | ||
= form_with url: create_lexpol_dossier_instructeur_dossier_path(dossier_id: champ.dossier.id, champ_id: champ.id), method: :post do |form| | ||
= form.submit 'Créer le dossier dans LexPol', class: 'fr-btn' | ||
- else | ||
%p | ||
%strong Numéro NOR : | ||
= champ.value | ||
%p | ||
%strong Statut du dossier : | ||
= champ.lexpol_status | ||
- if champ.lexpol_dossier_url.present? | ||
= link_to 'Aller sur LexPol', champ.lexpol_dossier_url, target: '_blank', class: 'fr-btn fr-btn--secondary' | ||
= form_with url: update_lexpol_dossier_instructeur_dossier_path(champ.dossier, champ_id: champ.id), method: :post do |form| | ||
= form.submit 'Mettre à jour le dossier', class: 'fr-btn fr-btn--secondary' | ||
-# - if champ.value.blank? | ||
-# = form_with url: create_lexpol_dossier_instructeur_dossier_path(dossier_id: champ.dossier.id, champ_id: champ.id), method: :post do |form| | ||
-# = form.submit 'Créer le dossier dans LexPol', class: 'fr-btn' | ||
-# - else | ||
-# %p | ||
-# %strong Numéro NOR : | ||
-# = champ.value | ||
-# %p | ||
-# %strong Statut du dossier : | ||
-# = champ.lexpol_status | ||
-# - if champ.lexpol_dossier_url.present? | ||
-# = link_to 'Aller sur LexPol', champ.lexpol_dossier_url, target: '_blank', class: 'fr-btn fr-btn--secondary' | ||
-# = form_with url: update_lexpol_dossier_instructeur_dossier_path(champ.dossier, champ_id: champ.id), method: :post do |form| | ||
-# = form.submit 'Mettre à jour le dossier', class: 'fr-btn fr-btn--secondary' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters