Dont use haml style tags

This commit is contained in:
2026-05-30 14:06:36 -05:00
parent 4ae6e557b6
commit f54bfb63db
+1 -1
View File
@@ -40,7 +40,7 @@ javascript:
= collapsible_content 'Page Settings (JSON)' do = collapsible_content 'Page Settings (JSON)' do
.field .field
= f.label :page_settings = f.label :page_settings
%p.help-text JSON configuration for this page. Use Ace editor in JSON mode. p.help-text JSON configuration for this page. Use Ace editor in JSON mode.
= f.text_area :page_settings, rows: 12, cols: 80, class: 'html-content', 'data-mode' => 'json', = f.text_area :page_settings, rows: 12, cols: 80, class: 'html-content', 'data-mode' => 'json',
value: (f.object.page_settings.presence || {}).to_json value: (f.object.page_settings.presence || {}).to_json
.form-row .form-row