summaryrefslogtreecommitdiff
path: root/app/views/nodes/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/nodes/edit.html.erb')
-rw-r--r--app/views/nodes/edit.html.erb10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index 612a3d3c..d40d4e75 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/edit.html.erb
@@ -7,8 +7,12 @@
7<% end %> 7<% end %>
8 8
9<div id="page_editor"> 9<div id="page_editor">
10<% form_for(@node) do |f| %> 10<%= form_for(@node) do |f| %>
11 <%= f.error_messages %> 11 <% if @node.errors.any? %>
12 <div class="error_messages">
13 <ul><% @node.errors.full_messages.each do |msg| %><li><%= msg %></li><% end %></ul>
14 </div>
15 <% end %>
12 16
13 <div id="metadata"> 17 <div id="metadata">
14 <div class="node_description">Event</div> 18 <div class="node_description">Event</div>
@@ -35,7 +39,7 @@
35 %> 39 %>
36 </div> 40 </div>
37 41
38 <% fields_for @draft do |d| %> 42 <%= fields_for @draft do |d| %>
39 <div class="node_description">Tags - comma seperated</div> 43 <div class="node_description">Tags - comma seperated</div>
40 <div class="node_content"><%= text_field_tag :tag_list, @draft.tag_list %></div> 44 <div class="node_content"><%= text_field_tag :tag_list, @draft.tag_list %></div>
41 45