select image for section logic

This commit is contained in:
2022-11-28 00:39:24 +02:00
parent 76b29123a6
commit 38caa2ea9a
4 changed files with 32 additions and 4 deletions

View File

@ -1,7 +1,7 @@
.relative.block.border.border-gray-100
%h3.mt-4.text-lg.font-bold= key.upcase
%button.ml-3.inline-block.rounded-lg.bg-blue-500.px-5.py-3.text-sm.font-medium.text-white
Update
=link_to "Update Image" , cms_page_section_select_image_url(@page.name,@section.id)
.relative.block.border.border-gray-100
-if value