Fix destroy problem and add section area explanation
This commit is contained in:
@@ -16,4 +16,7 @@
|
||||
= link_to t("helpers.links.destroy"), [:admin, svg_element], method: :delete, data: {confirm: are_you_sure? }, class: 'table-destroy-button'
|
||||
- else
|
||||
= no_content_given model_class
|
||||
= link_to t("helpers.links.new"), new_admin_svg_element_path, class: 'record-new-button'
|
||||
/= link_to t("helpers.links.new"), new_admin_svg_element_path, class: 'record-new-button'
|
||||
- content_for :page_links do
|
||||
ul
|
||||
li= link_to link_to_new_content(SvgElement), main_app.new_admin_svg_element_path, class: 'record-new-button'
|
||||
|
||||
Reference in New Issue
Block a user