Sha256: 7c0d8242e55e2d636d7afde4f15bc121c5ef3589a3d60f8bf60e959ee280b4a1
Contents?: true
Size: 942 Bytes
Versions: 4
Compression:
Stored size: 942 Bytes
Contents
.cms_form = form_for [:admin, @block] do |f| = f.error_messages %p = f.label :name = f.text_field :name %p = f.label "Show Editors" = f.check_box :show_editors %p = f.label "Page Templates in which this block will be available" #div = f.check_box :all_templates All - for pt in PageTemplate.sys(_sid).order(:name).all #templates = check_box_tag "block[page_template_ids][]", pt.id, @block.page_templates.include?(pt) = pt.name %p = f.label :description = f.text_area :description %a(name='editor') %p = f.label :body = ace_editor('html', :block, :body, f) %p = kit_submit "Save" = kit_submit "Save And Edit Again" %script(type='text/javascript') $(document).ready(function() { }); function template_selects() { if ($('#block_all_templates').is(':checked')) { } }
Version data entries
4 entries across 4 versions & 1 rubygems