I am following the example to make my own custom form
design:
http://www.web2py.com/book/default/chapter/


{{=form.custom.begin}}
Image name: <div>{{=form.custom.widget.name}}</div>
Image file: <div>{{=form.custom.widget.file}}</div>
Click here to upload: {{=form.custom.submit}}
{{=form.custom.end}}


Generated HTML is:

 Click here to submit: <input type="submit" value="Submit" />

I want to add my own tag data-theme="e" so the final HTML

to be:

Click here to submit: <input data-theme="e" type="submit" value="Submit" />

Or simply to change the background color to make the Submit button

better visible.


How to do that?






Reply via email to