only move cards within same page
This commit is contained in:
@ -33,8 +33,8 @@
|
||||
= form_for( card , {method: :delete } ) do
|
||||
%button.button.remove.mt-4{type: :submit} Delete Card
|
||||
= simple_form_for( card , method: :patch ) do |f|
|
||||
= f.input :section_id , label: "move to section" , include_blank: false ,
|
||||
collection: card_section_select
|
||||
= f.input :section_id , label: "move to section (on this page)" , include_blank: false ,
|
||||
collection: card_section_select(card)
|
||||
%button.button.change.mt-4{type: :submit} Move
|
||||
|
||||
.basis-80
|
||||
|
@ -1,4 +1,4 @@
|
||||
.fex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm.m-10
|
||||
.fex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm
|
||||
= image_for( card , class: "h-full w-full object-cover")
|
||||
%h3.p-5.text-2xl.bg-gray-100.text-black.font-bold{ text_align_option(card)}= card.header
|
||||
%div.h-full{background_option(card)}
|
||||
|
Reference in New Issue
Block a user