Skip to content

Commit

Permalink
another one
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg committed Mar 15, 2012
1 parent 469a746 commit 607325e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/blog/posts/_form.html.erb
Expand Up @@ -26,7 +26,7 @@
<%= form.simple_field nil, nil, :class => 'submit_element' do %>
<%= form.check_box :is_published, :disable_builder => true %>
<%= form.label_for :is_published %>
<%= form.submit (@post.new_record? ? 'Create post' : 'Update post'), :disable_builder => true %>
<%= form.submit @post.new_record?? 'Create post' : 'Update post', :disable_builder => true %>
<% end %>
<% else %>
Expand Down

0 comments on commit 607325e

Please sign in to comment.