Sha256: 7eda2e49fa6c4544ba750113fd9bc123141cdd8e80532b254a1ab4ea700fed22

Contents?: true

Size: 308 Bytes

Versions: 7

Compression:

Stored size: 308 Bytes

Contents

<%= form_for(@category) do |f| %>
  <p>
    <%= f.label :name %>
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :parent_id %>
    <%= f.token_field :parent_id, :model => :category, :token_url => token_categories_path %>
  </p>
  <%= f.submit %>
<% end %>
<%= link_to "Listing", categories_path %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
token_field-2.0.0 spec/dummy/app/views/categories/_form.html.erb
token_field-1.1.0 spec/dummy/app/views/categories/_form.html.erb
token_field-1.0.1 spec/dummy/app/views/categories/_form.html.erb
token_field-1.0.0 spec/dummy/app/views/categories/_form.html.erb
token_field-0.0.3 spec/dummy/app/views/categories/_form.html.erb
token_field-0.0.2 spec/dummy/app/views/categories/_form.html.erb
token_field-0.0.1 spec/dummy/app/views/categories/_form.html.erb