Sha256: e5f5bc64defbe4e00e5ac35ff78f70e69498cb706242c86b8eb58e2d8e5db90c

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

<section>
  <div class="page-header">
    <h1><%= class_name.humanize.pluralize %></h1>
  </div>

  <div id="<%= class_name.underscore %>-list">
    <table class="table table-bordered table-striped">
      <thead>
        <tr>
          <th>Field1</th>
          <th>Field2</th>
        </tr>
      </thead>

      <tbody>
        {{#if controller.content.isLoaded}}
          {{#each controller.currentPage.<%= class_name.camelize.pluralize %>}}
            <tr>
              <td>{{field1}}</td>
              <td>{{field2}}</td>
            </tr>
          {{/each}}
        {{/if}}
      </tbody>
    </table>
  </div>
  {{view PageWrapper.PaginationView pageBinding="controller.currentPage"}}
</section>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page_wrapper-0.0.1 lib/templates/page_template.handlebars