Sha256: ef353bf461e2e908164f62867dade1960270d9a277891cfe179b3bc901b1ebd6

Contents?: true

Size: 1.52 KB

Versions: 13

Compression:

Stored size: 1.52 KB

Contents

<%= pb_rails("table", props: { size: "lg"} ) do %>
  <thead>
    <tr>
      <%= pb_rails("table/table_header", props: {
        id: "name",
        colspan: 2,
        sort_menu: [
          { item: "Name", link: "?q[sorts]=name+desc", active: false, direction: "desc" },
          { item: "Name", link: "?q[sorts]=name+asc", active: true, direction: "asc" },
        ],
      }) %>
      <%= pb_rails("table/table_header", props: {
        text: "Age",
        id: "age",
        sort_menu: [
          { item: "Age", link: "?q[sorts]=age+desc", active: false, direction: "desc" },
          { item: "Age", link: "?q[sorts]=age+asc", active: false, direction: "asc" },
        ],
      }) %>
      <%= pb_rails("table/table_header", props: {
        text: "Territory",
        id: "territory",
        sort_menu: [
          { item: "Territory", link: "?q[sorts]=territory+desc", active: false, direction: "desc" },
          { item: "Territory", link: "?q[sorts]=territory+asc", active: false, direction: "asc" },
        ],
      }) %>
      <%= pb_rails("table/table_header", props: { text: "Job Title" }) %>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Name 1</td>
      <td>Name 2</td>
      <td>Value 3</td>
      <td>Value 4</td>
      <td>Value 5</td>
    </tr>
    <tr>
      <td>Name 1</td>
      <td>Name 2</td>
      <td>Value 3</td>
      <td>Value 4</td>
      <td>Value 5</td>
    </tr>
    <tr>
      <td>Name 1</td>
      <td>Name 2</td>
      <td>Value 3</td>
      <td>Value 4</td>
      <td>Value 5</td>
    </tr>
  </tbody>
<% end %>

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
playbook_ui_docs-13.5.0.pre.alpha.PLAY823globalpropoverflow1191 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui-13.5.0.pre.alpha.PLAY823globalpropoverflow1191 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui_docs-13.5.0.pre.alpha.PLAY823globalpropoverflow1188 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui-13.5.0.pre.alpha.PLAY823globalpropoverflow1188 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui_docs-13.5.0 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui-13.5.0 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui_docs-13.4.0.pre.alpha.PLAY973Hash1181 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui-13.4.0.pre.alpha.PLAY973Hash1181 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui_docs-13.4.0.pre.alpha.play961turnoffdeprecationwarnings1171 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui-13.4.0.pre.alpha.play961turnoffdeprecationwarnings1171 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui-13.4.0 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui_docs-13.3.0 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb
playbook_ui-13.3.0 app/pb_kits/playbook/pb_table/docs/_table_header.html.erb