link to live

This commit is contained in:
2023-05-14 16:26:52 +03:00
parent 78f47614fa
commit e55936c8c3
2 changed files with 12 additions and 1 deletions

View File

@ -34,8 +34,10 @@
%td.whitespace-nowrap.px-4.py-2
%strong.rounded.bg-green-100.px-3.text-xs.font-medium.text-green-700{:class => "py-1.5"}
= link_to 'Sections', merged.page_sections_path(page.id)
%strong.rounded.bg-amber-100.px-3.text-xs.font-medium.text-amber-700{:class => "py-1.5"}
%strong.ml-2.rounded.bg-amber-100.px-3.text-xs.font-medium.text-amber-700{:class => "py-1.5"}
= link_to 'Edit', merged.page_path(page.id)
%strong.ml-2.rounded.bg-blue-100.px-3.text-xs.font-medium.text-amber-700{:class => "py-1.5"}
=link_to "View live" , "/#{page.name}" , target: page.name
.flex.mx-20.new_page
= form_tag( merged.pages_path , {method: :post } ) do