Sha256: a568941619653da1126f2ece5701977de3761c8bbfe871b2a0cbae0999c1e0d6

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

<%= simple_form_for(@item) do |f| %>
  <%= f.input :name %>
  <%= f.input :category_id, :as => :token, :token_url => "function() { return '#{token_categories_path}'; }", :token_url_is_function => true %>
  <%= f.submit %>
<% end %>
<%= link_to "Listing", items_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
token_field-2.0.0 spec/dummy/app/views/items/_form.html.erb
token_field-1.1.0 spec/dummy/app/views/items/_form.html.erb