Update app/views/instructeurs/procedures/stats.html.haml

Co-Authored-By: Pierre de La Morinerie <kemenaran@gmail.com>
This commit is contained in:
Paul Chavard 2020-02-25 09:12:58 +01:00 committed by GitHub
parent 662ef451a9
commit ee1a930693
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,8 @@
'Statistiques'] }
.statistiques
-# Load Chartkick lazily, by using our React lazy-loader.
-# (Chartkick itself doesn't use React though)
= react_component('Chartkick')
%h1.new-h1= title
@ -31,4 +33,3 @@
.chart
- colors = %w(#C3D9FF #0069CC #1C7EC9) # from _colors.scss
= pie_chart @termines_states, colors: colors