summaryrefslogtreecommitdiff
path: root/app/views/person/new.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/person/new.rhtml')
-rw-r--r--app/views/person/new.rhtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/person/new.rhtml b/app/views/person/new.rhtml
new file mode 100644
index 0000000..0e79d24
--- /dev/null
+++ b/app/views/person/new.rhtml
@@ -0,0 +1,8 @@
+<h1>New person</h1>
+
+<%= start_form_tag :action => 'create' %>
+ <%= render :partial => 'form' %>
+ <%= submit_tag "Create" %>
+<%= end_form_tag %>
+
+<%= link_to 'Back', :action => 'list' %>