Sha256: de662c5d2bc7112f6d91c37915c53af64d2d5a9690cf56182a14a2604c6eca80

Contents?: true

Size: 533 Bytes

Versions: 6

Compression:

Stored size: 533 Bytes

Contents

<%- attributes.each do |attribute| -%>
            <th <%%= visible_column("<%= singular_table_name %>", "<%= attribute.name %>") %> class="bs-col-<%= attribute.name %>">
              <%- id_or_not = "" -%>
              <%- if @beautiful_attributes.include?(attribute.name + ':references') then -%>
                <%- id_or_not = "_id" -%>
              <%- end -%>
              <%%= sorting_header("<%= singular_table_name %>", "<%= attribute.name %><%= id_or_not %>", "<%= namespace_alone %>") %>
            </th>
<%- end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
beautiful_scaffold-1.0.2 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-1.0.1 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-1.0.0.pre lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-0.3.6 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-0.3.5 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-0.3.4 lib/generators/templates/app/views/partials/_index_header.html.erb