From 867435265bdf2169e26833aefcfccc7b9a67b70e Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Tue, 12 Sep 2017 22:37:56 +0200 Subject: [PATCH] suite --- app/views/admin/home_blocks/_form.html.haml | 2 -- app/views/admin/home_blocks/_home_block.html.haml | 3 --- 2 files changed, 5 deletions(-) diff --git a/app/views/admin/home_blocks/_form.html.haml b/app/views/admin/home_blocks/_form.html.haml index 71ce22a..032cd6c 100644 --- a/app/views/admin/home_blocks/_form.html.haml +++ b/app/views/admin/home_blocks/_form.html.haml @@ -2,8 +2,6 @@ = form.inputs do - = form.input :title, :label => "Title :" - = form.input :description,:as => :text , :label => "Description :" = form.input :cible, :label => "Cible :" , :as => :qi_cible_select .actions diff --git a/app/views/admin/home_blocks/_home_block.html.haml b/app/views/admin/home_blocks/_home_block.html.haml index 15a066b..b87403d 100644 --- a/app/views/admin/home_blocks/_home_block.html.haml +++ b/app/views/admin/home_blocks/_home_block.html.haml @@ -1,7 +1,4 @@ =link_to "modifier", edit_admin_home_block_path(home_block), :remote => true, :class => "button" -%h4=home_block.title -%p=simple_format home_block.description - -if home_block.cible