I have this code:
Client
<% @clients.each do |client| %>
<option value="<%= client.id %>"
<%= ’ selected’ if client.id == @repair_ticket.client_id %>>
<%= client.name%>
<% end %>
I want to put a sidebar in this list. How can I do that?
I have this code:
Client
<% @clients.each do |client| %>
<option value="<%= client.id %>"
<%= ’ selected’ if client.id == @repair_ticket.client_id %>>
<%= client.name%>
<% end %>
I want to put a sidebar in this list. How can I do that?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs