Sha256: cb3fc7b6a026f4eb1f48cb2bd91a85e6f1cf99531141d18e7ce52e9c900fe496

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

<li id="<%= attribute %>">
  <%= form.label related_fk, "#{label_text} <small>#{message}</small>".html_safe %>
  <%= form.hidden_field related_fk %>
  <input data-autocomplete="<%= "/admin/#{related.to_resource}/autocomplete" %>"
         id="autocomplete"
         id_element="#<%= "#{@item.class.model_name.downcase}_#{related_fk}" %>"
         name="autocomplete"
         size="30"
         type="text"
         value="<%= @item.send(attribute).try(:to_label) %>" />
</li>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typus-3.0.10 app/views/admin/templates/_belongs_to_with_autocomplete.html.erb
typus-3.0.9 app/views/admin/templates/_belongs_to_with_autocomplete.html.erb