content_for :head do

= javascript_include_tag :ckeditor

form_for @<%= singular_name %>, :validate => true do |f|

= f.error_messages
<%- for attribute in model_attributes -%>
.item 
  = f.label :<%= attribute.name %>
  %br
  = f.<%= attribute.field_type %> :<%= attribute.name %>, :class => 'field'
<%- end -%>
.item
  = f.submit