Sha256: 30df55323e53b02d8cdd1db4236c1b927b3e115b527b9180e29ff214f1546bf6

Contents?: true

Size: 528 Bytes

Versions: 5

Compression:

Stored size: 528 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') -%>
                <%- id_or_not = "_id" -%>
              <%- end -%>
              <%%= sorting_header("<%= singular_table_name %>", "<%= attribute.name %><%= id_or_not %>", "<%= namespace_alone %>") %>
            </th>
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beautiful_scaffold-2.0.3 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-2.0.2 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-2.0.1 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-2.0.0 lib/generators/templates/app/views/partials/_index_header.html.erb
beautiful_scaffold-2.0.0.pre lib/generators/templates/app/views/partials/_index_header.html.erb