diff --git a/app/views/shared/_accessible_combobox.html.erb b/app/views/shared/_accessible_combobox.html.erb index 2aca224..4fe65ca 100644 --- a/app/views/shared/_accessible_combobox.html.erb +++ b/app/views/shared/_accessible_combobox.html.erb @@ -1,6 +1,5 @@ <% if !models.nil? %> <% json = {} %> - <% tooltip = tooltip ||= _('Please select a valid %{entity} from the list.' % {entity: attribute}) %> <% models.map{|m| json[m[attribute]] = m.id} %> + value="<%= default_selection[attribute] unless default_selection.nil? %>" /> <% models.each do |model| %>