2010-05-02 23:33:17 +00:00
|
|
|
- content_for :head do
|
2010-12-14 17:00:12 +00:00
|
|
|
= include_javascripts :image_picker, :snippets
|
|
|
|
= include_stylesheets :fancybox
|
2010-05-02 23:33:17 +00:00
|
|
|
|
|
|
|
= f.inputs :name => :information do
|
2011-07-05 18:33:21 +00:00
|
|
|
= f.input :name, :wrapper_html => { :class => 'highlighted' }
|
2010-05-02 23:33:17 +00:00
|
|
|
= f.input :slug, :required => false
|
2010-07-23 23:57:18 +00:00
|
|
|
|
2010-05-02 23:33:17 +00:00
|
|
|
= f.inputs :name => :code do
|
2010-08-21 22:48:24 +00:00
|
|
|
= f.custom_input :template, :css => 'full', :with_label => false do
|
2010-05-02 23:33:17 +00:00
|
|
|
%code{ :class => 'html' }
|
2010-08-21 22:48:24 +00:00
|
|
|
= f.text_area :template
|
2010-07-17 22:01:00 +00:00
|
|
|
.more
|
2011-06-28 13:38:13 +00:00
|
|
|
= link_to t('admin.image_picker.link'), admin_theme_assets_path, :id => 'image-picker-link', :class => 'picture'
|