summaryrefslogtreecommitdiff
path: root/lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:04:03 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:04:03 +0100
commitab63774d954fe1f967a97ffe5a0a66016eca2257 (patch)
treeb3974a58deabe6a989ad7352f10e75d7495cb0c5 /lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml
parent495bbfdf78206c8adaec057e83900dda6754092c (diff)
parentf8bc860750f06ab95f9ced8e919e846d3e589819 (diff)
Merge branch 'tb-css' into develop
Diffstat (limited to 'lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml')
-rw-r--r--lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml b/lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml
index 9cbea63..a523d32 100644
--- a/lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml
+++ b/lib/generators/nifty/scaffold/templates/views/haml/_index_core.html.haml
@@ -1,12 +1,12 @@
-%table
+%table{:class => 'table table-striped'}
%tr
<%- for attribute in model_attributes -%>
%th= t('<%= plural_name %>.index.<%= attribute.name %>')
<%- end -%>
- - reset_cycle
+
- for <%= instance_name %> in <%= instances_name %>
- %tr{:class => cycle('odd', 'even')}
+ %tr
<%- for attribute in model_attributes -%>
%td= <%= instance_name %>.<%= attribute.name %>
<%- end -%>