And we are green

This commit is contained in:
2013-12-12 06:37:42 +01:00
parent 391c8a7613
commit a0d4312238
4 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ div.page-header= title :index, model_class
- @tables.each do |table|
tr
td.link= link_to table.number, [:suppliers, table]
td.link= link_to_if table.section.present?, table.section.try(:title), tables_view_suppliers_section_path(table.section)
td.link= link_to_if table.section.present?, table.section.try(:title), [:suppliers, table.section]
td.timestamp data-time=table.created_at.try(:utc).try(:iso8601)
td.actions
= link_to t('helpers.links.edit'), [:edit, :suppliers, table], class: 'btn btn-mini', data: {t: 'helpers.links.edit'}