From 2cc50622d48fa15ae7955f05a239bcb4b2ebe2e7 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Tue, 30 Sep 2014 13:47:17 +0300 Subject: [PATCH] Put the suggestions in a container --- app/views/management/events/index.html.slim | 23 ++++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/app/views/management/events/index.html.slim b/app/views/management/events/index.html.slim index f13c734..4cbf2b6 100644 --- a/app/views/management/events/index.html.slim +++ b/app/views/management/events/index.html.slim @@ -1,11 +1,14 @@ .row - table.record-table - thead - tr - th.picture = Event.human_attribute_name(:user) - th = Event.human_attribute_name(:title) - th = Track.model_name.human - th = Event.human_attribute_name(:type) - th.actions - tbody - = render partial: 'suggestion_group', collection: @suggestion_groups + .panel.panel-primary + .panel-heading + h3.panel-title = Event.model_name.human(count: 2) + table.record-table + thead + tr + th.picture = Event.human_attribute_name(:user) + th = Event.human_attribute_name(:title) + th = Track.model_name.human + th = Event.human_attribute_name(:type) + th.actions + tbody + = render partial: 'suggestion_group', collection: @suggestion_groups