|
@@ -1,4 +1,5 @@
|
|
SET ":view" = COALESCE(:content, '') <> '' AND COALESCE(:action, '') <> 'Edit as New';
|
|
SET ":view" = COALESCE(:content, '') <> '' AND COALESCE(:action, '') <> 'Edit as New';
|
|
|
|
+SELECT 'button' AS component;
|
|
SELECT 'Open' AS title
|
|
SELECT 'Open' AS title
|
|
, 1 AS width
|
|
, 1 AS width
|
|
, '/clip.sql?action=open' AS link
|
|
, '/clip.sql?action=open' AS link
|
|
@@ -37,6 +38,7 @@ SELECT 'Paste something here...' AS placeholder
|
|
, 'content' AS name
|
|
, 'content' AS name
|
|
, 'textarea' AS type
|
|
, 'textarea' AS type
|
|
, '' AS label
|
|
, '' AS label
|
|
|
|
+, 12 AS rows
|
|
, :view::bool AS disabled
|
|
, :view::bool AS disabled
|
|
, CASE COALESCE(:action, '')
|
|
, CASE COALESCE(:action, '')
|
|
WHEN 'New' THEN NULL
|
|
WHEN 'New' THEN NULL
|