Permalink
Browse files

Allow editing comments' author name and author email from the admin p…

…anel
  • Loading branch information...
1 parent 40cc93f commit 64cd7b5b55015536a37dcd7b87d40fe4a7a6dbe3 @FooBarWidget FooBarWidget committed Jan 15, 2012
Showing with 14 additions and 1 deletion.
  1. +14 −1 app/views/admin/comments/edit.html.erb
View
15 app/views/admin/comments/edit.html.erb
@@ -12,8 +12,21 @@
</ul>
</div>
<% end %>
+
+ <div class="para">
+ <%= f.label :author_name %><br />
+ <%= f.text_field :author_name %>
+ </div>
+
+ <div class="para">
+ <%= f.label :author_email %><br />
+ <%= f.text_field :author_email %>
+ </div>
- <div class="para"><%= f.text_area :content %></div>
+ <div class="para">
+ <%= f.label :content %><br />
+ <%= f.text_area :content %>
+ </div>
<div class="para actions">
<%= f.submit :class => 'primary button' %>

0 comments on commit 64cd7b5

Please sign in to comment.