summaryrefslogtreecommitdiff
path: root/app/views/pages/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pages/edit.html.erb')
-rw-r--r--app/views/pages/edit.html.erb24
1 files changed, 0 insertions, 24 deletions
diff --git a/app/views/pages/edit.html.erb b/app/views/pages/edit.html.erb
deleted file mode 100644
index 8b1242cc..00000000
--- a/app/views/pages/edit.html.erb
+++ /dev/null
@@ -1,24 +0,0 @@
1<h1>Editing page</h1>
2
3<%= form_for(@page) do |f| %>
4 <%= form_error_messages(f) %>
5
6 <p>
7 <%= f.label :title %><br />
8 <%= f.text_field :title %>
9 </p>
10 <p>
11 <%= f.label :abstract %><br />
12 <%= f.text_area :abstract %>
13 </p>
14 <p>
15 <%= f.label :body %><br />
16 <%= f.text_area :body %>
17 </p>
18 <p>
19 <%= f.submit "Update" %>
20 </p>
21<% end %>
22
23<%= link_to 'Show', @page %> |
24<%= link_to 'Back', pages_path %>