Permalink
Browse files

Upcased the prefix in save_or_create_commit_button_text method

  • Loading branch information...
1 parent 7b1d7d3 commit 8cc9de7d06527fee58b134ba9cb3a0c0a01aa3d6 Simon Chiu committed Mar 20, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/formtastic.rb
View
@@ -330,7 +330,7 @@ def set_options(options)
end
def save_or_create_commit_button_text #:nodoc:
- prefix = @object.new_record? ? 'create' : 'save'
+ prefix = @object.new_record? ? 'Create' : 'Save'
[ I18n.t(prefix, :default => prefix, :scope => [:formtastic]),
@object.class.human_name
].join(' ').send(@@label_str_method)

0 comments on commit 8cc9de7

Please sign in to comment.