Hi, How do you add a new line using RoR? What do I need to add to link_to to make it open a new page? Thank you
http://guides.rubyonrails.org/form_helpers.html On Sep 12, 7:38 pm, MS999 <msefar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > How do you add a new line using RoR? > What do I need to add to link_to to make it open a new page? > > Thank you
Simpler yet, go to http://guides.rubyonrails.org/getting_started.html and search for link_to. On Sep 12, 7:38 pm, MS999 <msefar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > How do you add a new line using RoR? > What do I need to add to link_to to make it open a new page? > > Thank you
hi, add :target => "blank", or take a look at www.agilente.eu. This is my site and in the articles all external links use a js to pop up a new window to be xhtml strict compliant. On Sep 13, 1:38 am, MS999 <msefar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > How do you add a new line using RoR? > What do I need to add to link_to to make it open a new page? > > Thank you