Skip to content

FormView is a simple mechanism to help creating form in the BackboneJS

License

Notifications You must be signed in to change notification settings

saeedtrb/Backbone-FormView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backbone-FormView

FormView is a simple mechanism to help creating form in the BackboneJS

Example

var formOBJ = {
	action : "http://www.example.com/test",
	method : "post",
	// form inputs
	inputs : {
		username : {
			type    : "text",
			default : "test",
			label   : "Username"
		},
		password : {
			type  : "password",
			label : "password"
		}
	}
};
var formView = new Backbone.FormView( { form : formOBJ } );
$("#form-container").html( formView.render() );

About

FormView is a simple mechanism to help creating form in the BackboneJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published