<%% label ||= nil %>
<%%= optional_label(f, what, label) %>
<%% if defined?(Ckeditor) %> <%%= f.cktext_area what, :toolbar => 'Easy', :width => 800, :height => 400 %> <%% else %> <%%= f.text_area what, :class => 'span6', :rows => 10 %> <%% end %> <%%= content_tag(:span, help, :class => 'help-block') if help_text_present?(local_variables) %>
<%% content_for :javascripts do %> <%%= javascript_include_tag "/javascripts/ckeditor/ckeditor.js" %> <%%= stylesheet_link_tag "/javascripts/ckeditor/contents.css" %> <%% end %>