13 lines
587 B
Plaintext
13 lines
587 B
Plaintext
- model_class = SvgElement
|
|
- title :show, @svg_element
|
|
|
|
dl.dl-horizontal.show-list
|
|
dt= model_class.human_attribute_name(:name)
|
|
dd= @svg_element.name
|
|
|
|
- content_for :page_links do
|
|
ul
|
|
li=link_to link_to_index_content(SvgElement), main_app.admin_svg_elements_path, class: 'to-index-button'
|
|
li=link_to link_to_edit_content(@svg_element), main_app.edit_admin_svg_element_path(@svg_element), class: 'record-edit-button'
|
|
li= link_to link_to_destroy_content(@svg_element), [:admin, @svg_element], method: :delete, data: {confirm: are_you_sure?}, class: 'record-destroy-button'
|