Dojo Button and Rails Helpers
When i tried to use dojo buttons on rails partials , i felt happy about dojo widgets.
But if i have to use save_tag button or i want to include button in link_to_remote function,
I dont have option to get dojo style button.
I have used firebug to get the required dojo classes for dojo button and created following helper methods.
def dojo_button(name)
''
end
def dojo_button_class
"dijit dijitLeft dijitInline dijitStretch dijitButtonNode dijitButtonContents dijitButton"
end
No comments:
Post a Comment