Skip to content

Commit

Permalink
use the create method to, well, create. Aslo delete the duplicate form
Browse files Browse the repository at this point in the history
  • Loading branch information
zr2d2 committed Jun 29, 2012
1 parent 0e8bba6 commit dd82e6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion app/views/templates/_create_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= form_for(@template, :url => import_templates_path, :html => { :multipart => true }) do |f| %>
<%= form_for(@template, :html => { :multipart => true }) do |f| %>
<% if @template.errors.any? %>
<div id="errorExplanation">
<h2><%= pluralize(@template.errors.count, "error") %> prohibited this template from being saved:</h2>
Expand Down
12 changes: 0 additions & 12 deletions app/views/templates/_form_import.html.erb

This file was deleted.

0 comments on commit dd82e6c

Please sign in to comment.