toggle-switch created and added in the patron
This commit is contained in:
parent
fb3e69aa2a
commit
19fa9e3f2e
2 changed files with 94 additions and 0 deletions
|
@ -64,6 +64,13 @@
|
|||
Option B
|
||||
%p.notice Une autre option, pas mal non plus.
|
||||
|
||||
%h3.header-subsection Interrupteur
|
||||
%label.toggle-switch{ tabindex: 0 }
|
||||
= f.check_box :archived, class: 'toggle-switch-checkbox'
|
||||
%span.toggle-switch-control.round
|
||||
%span.toggle-switch-label.on Activé
|
||||
%span.toggle-switch-label.off Désactivé
|
||||
|
||||
.send-wrapper
|
||||
= f.submit 'Enregistrer un brouillon (formnovalidate)', formnovalidate: true, class: 'button send'
|
||||
= f.submit 'Envoyer', class: 'button send primary'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue