<% content_for :main do %>

New Snippet

<%= form_for @snippet, :url=>"/admin/snippet", :method=>:post do |f| %> Name:
<%= f.text_field :name, {:style=>"width: 700px;"} %>

Description:
<%= f.text_area :description, {:style=>"margin-top: 2px; height: 80px; width: 700px;"} %>
Show Editors:
<%= f.check_box :show_editors %>
Should this snippet appear in the editor's insert list?
Content:
<%= cm_editor('html', :snippet, :body, f) %> <%= kit_submit "Save" %> or <%= icon_to "Cancel", "/admin/snippet" %> <% end %>
<% end %>