How can I put a sidebar in a f.selec?

How can I put a sidebar_here?

   <p>    <b>Client</b><br />   <select name="custom_search[client_id]">    <% @clients.each do |client| %>        <option value="<%= client.id %>"          <%= ' selected' if client.id == @custom_search.client_id %>>          <%= client.name%>        </option>    <% end %>   </select></p>

John Smith said the following on 21/01/08 02:51 PM:

How can I put a sidebar_here?

   <p>    <b>Client</b><br />   <select name="custom_search[client_id]">    <% @clients.each do |client| %>        <option value="<%= client.id %>"          <%= ' selected' if client.id == @custom_search.client_id %>>          <%= client.name%>        </option>    <% end %>   </select></p>

First, you need to have the CSS that supports the layout. There are many sites which describe how this work. Google is your friend here. However you may also want to look at the method described in "Modular Page Assembly in Rails" http://www.railsdev.ws/blog/3/modular-page-assembly-in-rails/ which is also a good read on views, partials and an interesting way of implementing 'custom skins'

But you will most definitely need the proper CSS