Hi,

On Wed, Jun 22, 2016, at 18:12, Padmahas Bn wrote:
> Hello nanaya need some more help. In this web page I've member_code 
> text_field and that value (membercode) has to be passed to different 
> controllers which is done by more than one link_to helpers. Hence I can't 
> provide a single url_option to form_tag. So I googled "form_tag without 
> action" and found a way to write it.
> <%= form_tag "#" do %>
>      <%= link_to "joint_loan", joint_loan_path(member_code: membercode), 
> method: :post %>
>      <%= link_to "payment_detail", ............................ %>
>      <%= link_to ".....................................................
>      %>
> <% end %>
> 
> 
> 
> But still I'm not able to get the value of member_code.
> 

Try using button. Or learn some more html (and javascript).

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/1466586893.1924298.645017193.2EDB7A8A%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to