<h1>New tag</h1>

<%= error_messages_for :tag %>

<% form_for(:tag, :url => tags_path) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', tags_path %>