Sha256: b4f92114e67df1b68c6e90ad3fe994b8a7a7f1fa23c4d9dcace56b9eed798b3f

Contents?: true

Size: 631 Bytes

Versions: 2

Compression:

Stored size: 631 Bytes

Contents

<%= tag_context_form_template(@location) %>
<%= form_for(@location) do |f| %>
  <% if @location.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@location.errors.count, "error") %> prohibited this location from being saved:</h2>

      <ul>
      <% @location.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>

  <%= tag_context_form(@location) %>
  <%= tag_context_add(@location) %>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts-as-taggable-on-dynamic-0.0.3 samples/demo-plain/app/views/locations/_form.html.erb
acts-as-taggable-on-dynamic-0.0.2 samples/demo-plain/app/views/locations/_form.html.erb