<%= form_for(@template) do |f| %> <% if @template.errors.any? %>

<%= pluralize(@template.errors.count, "error") %> prohibited this template from being saved:

<% end %>
<%= f.label :template_name %>
<%= f.text_field :template_name %>
<%= f.label :content %>
<%= f.text_area :content %>
<%= f.submit %>
<% end %>