Thursday, November 29, 2012

[Rails] Adding a input field (select box) to a cell in a table that is rendered from controller

Hi,

I have a view in which a table is created with one head elements of the table are defined like,

%table.data-table{'data-searchable' => 'true'}
  %thead
    %tr
      %th Email
      %th.no-sort Name
      %th Registered
  %tbody


The table is populated through controller. I need to add a select box to every Email cell. How to add this?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/q2DqSWbPWH0J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate