progress today, clicking and fixing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
- model_class = Table
|
||||
div.page-header= title :index, model_class
|
||||
- title :index, model_class
|
||||
- if @tables.any?
|
||||
table.table.table-striped
|
||||
thead
|
||||
@@ -20,5 +20,8 @@ div.page-header= title :index, model_class
|
||||
= link_to t("helpers.links.destroy"), [:admin, table], method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-mini btn-danger'
|
||||
- else
|
||||
= no_content_given model_class
|
||||
= link_to t("helpers.links.new"), new_admin_table_path, class: 'btn btn-primary'
|
||||
/= link_to t("helpers.links.new"), new_admin_table_path, class: 'btn btn-primary'
|
||||
|
||||
- content_for :page_links do
|
||||
ul
|
||||
li= link_to link_to_new_content(Table), new_admin_table_path, class: 'record-new-button'
|
||||
|
||||
Reference in New Issue
Block a user