2010-05-02 23:33:17 +00:00
|
|
|
- content_for :head do
|
2011-12-05 10:31:34 +00:00
|
|
|
= render '/locomotive/theme_assets/picker'
|
|
|
|
|
|
|
|
- content_for :backbone_view_data do
|
|
|
|
:plain
|
2011-12-08 15:47:17 +00:00
|
|
|
{ snippet: #{@snippet.persisted? ? @snippet.to_presenter.as_json_for_html_view.to_json : 'null'} }
|
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
|
2011-11-28 14:40:25 +00:00
|
|
|
= f.input :template, :as => :'Locomotive::Code'
|