Sha256: 0d77f11477228b934d9fde82b7119da32fe50e5de99335f8f8cdc1c7d7496a4e
Contents?: true
Size: 770 Bytes
Versions: 2
Compression:
Stored size: 770 Bytes
Contents
.pull-right %p = link_to t("controllers.dashboard.pages.add_new"), new_dashboard_page_path, :class => "btn btn-primary" %table.table.table-striped %tr %th= t("simple_form.labels.page.name") %th= t("simple_form.labels.page.active") %th= t("simple_form.labels.page.page") %th= t("simple_form.labels.page.position") %th= t("actions.actions") %th %th - @pages.each do |p| %tr %td= p.name %td - if p.active %i.icon.icon-ok - else = " - " %td= p.page %td= p.position %td= link_to t("actions.show"), dashboard_page_path(p) %td= link_to t("actions.edit"), edit_dashboard_page_path(p) %td= link_to t("actions.delete"), dashboard_page_path(p), method: :delete
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jc_cms-0.0.2 | app/views/jc_cms/dashboard/pages/index.html.haml |
jc_cms-0.0.1 | app/views/jc_cms/dashboard/pages/index.html.haml |