remove sections ok

This commit is contained in:
2022-12-02 19:09:58 +02:00
parent 2eaa344ed0
commit 3d61e44e09
5 changed files with 25 additions and 4 deletions

View File

@ -13,7 +13,7 @@
= blue_button( "Up" , section_move_url(section.id , dir: :up) )
= blue_button( "Down" , section_move_url(section.id , dir: :down) )
= yellow_button("Edit" , section_path(section.id) )
= red_button( "Delete" , "/index" )
= red_button( "Delete" , section_remove_path(section.id) )
.relative.block.border.border-gray-100.p-4
%h3.mt-4.text-lg.font-bold Template
%p= section.template