2010-05-02 23:33:17 +00:00
|
|
|
- content_for :head do
|
|
|
|
= javascript_include_tag 'admin/plugins/codemirror/codemirror', 'admin/snippets.js'
|
2010-07-17 22:01:00 +00:00
|
|
|
= image_picker_include_tags
|
2010-05-02 23:33:17 +00:00
|
|
|
|
|
|
|
= f.inputs :name => :information do
|
|
|
|
= f.input :name
|
|
|
|
= f.input :slug, :required => false
|
|
|
|
|
|
|
|
= f.inputs :name => :code do
|
|
|
|
= f.custom_input :value, :css => 'full', :with_label => false do
|
|
|
|
%code{ :class => 'html' }
|
2010-07-17 22:01:00 +00:00
|
|
|
= f.text_area :value
|
|
|
|
.more
|
|
|
|
= link_to t('admin.image_picker.link'), admin_theme_assets_path, :id => 'image-picker-link'
|