Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Alias tr_boolean to tr_check_box

  • Loading branch information...
commit 2d34bb95ec889c74e8c965bcd68caa27b5762072 1 parent 699ff50
Pjotr Prins authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  app/helpers/application_helper.rb
2  app/helpers/application_helper.rb
View
@@ -74,6 +74,8 @@ def tr_check_box f, field, *opts
html
end
+ alias tr_boolean tr_check_box
+
def tr_boolean3 f, field, *opts
haml = <<EOP
%tr
Please sign in to comment.
Something went wrong with that request. Please try again.