Re: [Rails] Image question
On Thu, Sep 6, 2012 at 6:48 AM, roelof <rwobben@hotmail.com> wrote:
>> But how can I then make the place. Must I use a x and y or can I use words
>> to describe what I want.
I'm not sure I understand the question. But if you want to e.g. have
a picture between paragraphs 2 and 3, just write a helper method to
split the text there. Then your view looks like
<%= article_part[0] %>
<%= image_tag ... %>
<%= article_part[1] %>
Done. :-)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
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 https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home