<% content_for :main do %>

Snippet

Created <%= time_ago_in_words(@snippet.created_at) %> ago by <%= @snippet.user.email %>
<%= form_for [:admin, @snippet] 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 <%= link_to "Cancel", "/admin/snippet/#{@snippet.id}" %> <% end %>
<% end %>