design fixes for table view without list

This commit is contained in:
2012-09-02 14:56:47 +02:00
parent 0b56d07ed1
commit d3f6c4bd2a
3 changed files with 24 additions and 23 deletions
@@ -1,9 +1,9 @@
- model_class = Section
.page-header= title t('section.manage_tables.title', section: Section.model_name.human.downcase, title: @section.title)
- content_for :row do
ul.nav.nav-pills
ul.nav.nav-tabs
- for section in @section.supplier.sections
li class=(section == @section ? 'active' : nil) = link_to section.title, [:suppliers, section]
li class=(section == @section ? 'active' : nil) = link_to section.title, [:manage_tables, :suppliers, section]
.span9
.well.section-tables-container.section-tables-active
- for table in @section.tables