Skip to content

Commit

Permalink
Remove content column
Browse files Browse the repository at this point in the history
  • Loading branch information
marjinal1st committed Jan 20, 2014
1 parent e429f08 commit 726dad0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/views/kebapage/static_pages/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
%tr
%th #
%th #{I18n.t('kebapage.title')}
%th #{I18n.t('kebapage.content')}
%th.actions
#{I18n.t('kebapage.action')}
%tbody.success
Expand All @@ -18,8 +17,6 @@
= (@static_pages.index static_page) + 1
%td
= static_page.title
%td
= truncate static_page.content, length: 25
%td.action
%a.btn.btn-success{href: main_app.pages_path(static_page), data: { toggle: 'tooltip'}, title: I18n.t('kebapage.show')}
%i.icon-zoom-in
Expand All @@ -28,4 +25,4 @@
= link_to static_page_path(static_page), method: :delete, data: { confirm: I18n.t('kebapage.ru_sure')}, class: 'btn btn-danger' do
%i.icon-trash

= link_to I18n.t('kebapage.new_page'), new_static_page_path, method: :get, class: 'btn btn-default'
= link_to I18n.t('kebapage.new_page'), new_static_page_path, method: :get, class: 'btn btn-default btn-success'

0 comments on commit 726dad0

Please sign in to comment.