moves graphs to individual views

This commit is contained in:
rgarcia
2016-05-16 14:10:27 +02:00
committed by Javi Martín
parent 60c02cc19a
commit cfe3f95f5c
8 changed files with 58 additions and 33 deletions

View File

@@ -0,0 +1,4 @@
<div id="graph" class="small-12 column">
<h2><%= t "admin.stats.graph.#{name || event}" %>(<%= count %>)</h2>
<%= chart_tag id: name, event: event %>
</div>