Module: Ckeditor::FormBuilder::ClassMethods
- Defined in:
- lib/ckeditor/form_builder.rb
Instance Method Summary collapse
-
#cktext_area(method, options = {}) ⇒ Object
<% form_for :post, :url => posts_path do |form| %> …
Instance Method Details
#cktext_area(method, options = {}) ⇒ Object
<% form_for :post, :url => posts_path do |form| %>
...
<%= form.cktext_area :notes, :toolbar=>'Full', :width=>'400px', :heigth=>'200px' %>
<% end %>
With swfupload options: <%= form.cktext_area :content, :swf_params=>:assetable_id=>current_user.id %>
17 18 19 |
# File 'lib/ckeditor/form_builder.rb', line 17 def cktext_area(method, = {}) ckeditor_textarea(@object_name, method, ()) end |