Ember-form-tool
Two components for building forms in your ember app
Use like the following:
{{#form-for model=myModel mistakes=myErrors action="submittedForm"}}
<legend class="whatever">stuff</legend>
...
{{#form-input type="email" name="email" label="email"}}
<span class="helper-text">put your primary email</span>
{{/form-input}}
{{form-input type="datetime" name="expectedAt"}}
{{/form-for}}
Yes, every conceiveable type of input goes under the form-input component, you, as the user, only vary the type.
Known Types
- text
- textarea
- email (html5)
- password
- date, day, week, month, year (html5)
- time (html5)
- radio
- checkbox
- select
- multiselect
- color (html5)
- datetime-local (html5)
- search (html5)
- telephone (fancy emberjs junk)
- url (html5)
- range (html5)
- switch (material)
- files (fancy emberjs)
- audio stream (usermedia)
- video stream (usermedia)
Installation
git clone
this repositorynpm install
bower install
Running
Running Tests
ember test
ember test --server
Building
For more information on using ember-cli, visit http://www.ember-cli.com/.