From 669100c8152f933947f5a856452b1d9692d95ae7 Mon Sep 17 00:00:00 2001 From: Shota Iguchi Date: Wed, 19 Jul 2017 01:19:41 +0900 Subject: [PATCH] fix icon font --- app/views/kuroko2/users/index.html.slim | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/views/kuroko2/users/index.html.slim b/app/views/kuroko2/users/index.html.slim index f1ea38f0..95d602e5 100644 --- a/app/views/kuroko2/users/index.html.slim +++ b/app/views/kuroko2/users/index.html.slim @@ -1,6 +1,16 @@ -- content_for :title, 'Users' + (params[:target] == 'group' ? ' > Groups' : '') +- content_for :title do + - if params[:target] == 'group' + | Users > Groups + - else + | Users + - content_for :content_title do - Users#{params[:target] == 'group' ? ' Groups' : ''} + - if params[:target] == 'group' + | Users + Groups + - else + | Users + - @scope = @users - if @user.errors.any?