engine/app/views/admin/layouts/_form.html.haml

13 lines
459 B
Plaintext

- content_for :head do
= javascript_include_tag 'admin/plugins/codemirror/codemirror', 'admin/layouts.js'
= image_picker_include_tags
= f.inputs :name => :information do
= f.input :name
= f.inputs :name => :code do
= f.custom_input :value, :css => 'code full', :with_label => false do
%code{ :class => 'html' }
= f.text_area :value
.more
= link_to t('admin.image_picker.link'), admin_theme_assets_path, :id => 'image-picker-link'