aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/categories
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/blog/categories')
-rw-r--r--app/views/admin/blog/categories/_form.html.erb14
1 files changed, 5 insertions, 9 deletions
diff --git a/app/views/admin/blog/categories/_form.html.erb b/app/views/admin/blog/categories/_form.html.erb
index 28227ae..4f1809a 100644
--- a/app/views/admin/blog/categories/_form.html.erb
+++ b/app/views/admin/blog/categories/_form.html.erb
@@ -1,13 +1,9 @@
<% form_for [:admin, @blog_category] do |f| -%>
- <% if Rails.version < '3.0.0'%>
- <%= f.error_messages %>
- <% else %>
- <%= render :partial => "/shared/admin/error_messages",
- :locals => {
- :object => f.object,
- :include_object_name => true
- } %>
- <% end %>
+ <%= render :partial => "/shared/admin/error_messages",
+ :locals => {
+ :object => f.object,
+ :include_object_name => true
+ } %>
<div class='field'>
<%= f.label :title -%>