On 5 January 2011 10:21, Daniel Oton <lists@ruby-forum.com> wrote:
> Hello, I'm trying to use Nicedit to improve my text_areas in some views
> of my project.
>
> I have installed jquery:
> ruby script/plugin install git://github.com/aaronchi/jrails.git
>
> nicEdit plugin:
> ruby script/plugin install
> git://github.com/sergio-fry/Simple-nicEdit.git
>
> Add js in layout:
> <%= javascript_include_tag 'nicEdit', 'nicEditInit' %>
>
> Use it in form
> <% form_for @item do |f| %>
That should be <%= form_for...
I would have thought that looking at the html of the page (View >
Source in the browser) it would have been clear that this was not
generating anything.
Colin
> <%= f.rich_text_area :description %>
> <% end %>
>
> I have no results in my views and no javascript errors appears (checked
> with firebug).
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment