search for: fixedtooltip

Displaying 2 results from an estimated 2 matches for "fixedtooltip".

2007 May 24
3
Help with Create and Update with options_for_select in a select_tag
...n class = "required">*</ span>Access Control:</label> <%=select_tag ''access_control[]'', options_for_select($types, ''@types''), {:multiple => true, :size => 5, :id => "access_control_value", :onfocus=>"fixedtooltip(CONTROL_MSSG, this, event, '''')", :onblur=>"delayhidetip()"}%> <%= error_message_on :service, :access_controls %><br /> Controller -------------- #create works but is this the best way? def create ..... if params[:access_control] params[:ac...
2007 May 24
1
How do I show the selected values in options_for_select? Not as simple as it sounds.
...ue"><span class = "required">*</ span>Access Control:</label> <%=select_tag ''access_control[]'', options_for_select($types, @types), {:multiple => true, :size => 5, :id => "access_control_value", :onfocus=>"fixedtooltip(CONTROL_MSSG, this, event, '''')", :onblur=>"delayhidetip()"}%> <%= error_message_on :service, :access_controls %><br /> But when I edit a Service with access_controls, nothing is pre- selected. What am I doing wrong? Please, show me in this examp...