refactor(procedure): move cards to components
This commit is contained in:
parent
61fccdea1c
commit
7425744f9f
43 changed files with 379 additions and 216 deletions
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
fr:
|
||||
title: Service
|
|
@ -0,0 +1,17 @@
|
|||
= link_to service_link, class: 'card-admin' do
|
||||
- if @procedure.service_id.present?
|
||||
%div
|
||||
%span.icon.accept
|
||||
%p.card-admin-status-accept Validé
|
||||
- else
|
||||
%div
|
||||
%span.icon.clock
|
||||
%p.card-admin-status-todo À faire
|
||||
%div
|
||||
%p.card-admin-title= t('.title')
|
||||
%p.card-admin-subtitle
|
||||
- if @procedure.service_id.present?
|
||||
= @procedure.service.nom
|
||||
- else
|
||||
Choix du service administratif
|
||||
%p.button= service_button_text
|
Loading…
Add table
Add a link
Reference in a new issue