2017-03-08 14:52:25 +01:00
|
|
|
.container
|
|
|
|
.mt-1
|
2017-04-06 19:10:25 +02:00
|
|
|
= form_for @admin, url: { controller: 'administrations', action: :create } do |f|
|
2017-03-08 14:52:25 +01:00
|
|
|
.form-group.form-inline.text-center
|
|
|
|
= f.text_field :email, placeholder: :email, class: 'form-control'
|
|
|
|
= f.text_field :password, placeholder: :password, class: 'form-control'
|
2016-02-23 16:51:24 +01:00
|
|
|
|
2017-03-08 14:52:25 +01:00
|
|
|
= f.submit 'Créer un administrateur', class: 'btn btn-success', id: 'submit_new_administrateur'
|
2016-02-23 16:51:24 +01:00
|
|
|
|
2017-03-08 14:52:25 +01:00
|
|
|
.text-center
|
2017-04-06 11:38:44 +02:00
|
|
|
= link_to 'Stats', administrations_stats_path, style: 'margin-bottom: 50px; display: block', 'data-no-turbolink': true
|
2016-02-23 16:51:24 +01:00
|
|
|
|
2017-03-08 14:52:25 +01:00
|
|
|
= smart_listing_render :admins
|
2016-02-23 16:51:24 +01:00
|
|
|
|
2017-03-08 14:52:25 +01:00
|
|
|
%br
|
|
|
|
%br
|
2017-03-07 18:09:09 +01:00
|
|
|
|
2017-03-08 14:52:25 +01:00
|
|
|
.text-center
|
2017-04-06 11:38:44 +02:00
|
|
|
= link_to 'Deconnexion', '/administrations/sign_out', method: :delete
|