Skip to content

Commit

Permalink
dijit_text_field_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Tilley committed Apr 13, 2009
1 parent dc00e19 commit 14d6c60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/dojo_helpers/dijit/form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ def dijit_text_field(object_name, method, html_options = {})
::DojoHelpers::Dijit.textbox_options(html_options, method)
text_field(object_name, method, html_options)
end

def dijit_text_field_tag(name, value = nil, html_options = {})
html_options['title'] ||= name
::DojoHelpers::Dijit.textbox_options(html_options, name)
text_field_tag(name, value, html_options)
end

def dijit_password_field(object_name, method, html_options = {})
::DojoHelpers::Dijit.textbox_options(html_options, method)
Expand Down

0 comments on commit 14d6c60

Please sign in to comment.