Edit in JSFiddle

<script type="text/x-handlebars">
  <div class="container">
    <h2>Create User</h2>

    {{#object-form for=this action="updateUser" buttonLabel="Save"}}

      {{form-field for="name"}}

      {{form-field for="email"}}

      {{form-field for="password"}}

      {{form-field for="passwordConfirmation"}}



<script type="text/x-handlebars" data-template-name="components/form-field">
  <div class="form-group">
    <label {{bind-attr for=label}}>{{label}}</label>
    {{input type=type value=value id=label class="form-control"}}

<script type="text/x-handlebars" data-template-name="components/object-form">
  <form {{action "submit" on="submit"}}>


    <div class="form-group">
      <button type='submit' class='btn btn-block btn-primary'>{{buttonLabel}}</button>
window.App = Em.Application.create()

# The object form component wraps:

App.ObjectFormComponent = Em.Component.extend
  buttonLabel: "Submit"

    submit: ->

App.FormFieldComponent = Em.Component.extend
  type: (->
    if @get('for').match(/password/)
  ).property 'for'

  label: (->
    # this turns camelCased words into Title case
    @get('for').underscore().replace(/_/g, " ").capitalize()
  ).property 'for'

  fieldId: (->
    "#{Em.guidFor @get('object')}-input-#{@get('for')}"
  ).property 'object', 'for'

  # The form-field component must be wrapped in an {{object-form}}
  # component, which is passed the object that the form represents
  object: Em.computed.alias 'parentView.for'

  # dynamically bind the value field to the right field on the object
  # needed because the field is provided as a string

  # This is just to make the api nicer to use, you could pass in both
  # the string and the value into the component to avoid this magic.

  # So by setting up these bindings, you can write in your template:
  # {{form-field for="email"}}
  # instead of
  # {{form-field label="email" value=email}}
  setupBindings: (->
    @binding?.disconnect @ # Disconnect old binding if present

    # Create a binding between the value property of the component,
    # and the correct field name on the model object.
    @binding = Em.Binding.from("object.#{@get 'for'}").to('value')

    # Activate the binding
    @binding.connect @

  ).on('init').observes 'for', 'object'

  # Ensure the bindings are cleaned up when the component is removed
  tearDownBindings: (->
    @binding?.disconnect @
  ).on 'willDestroyElement'

App.ApplicationAdapter = DS.ActiveModelAdapter.extend()

App.ApplicationRoute = Em.Route.extend
  model: ->
    @store.createRecord 'user'

    updateUser: ->
      alert "Updating user #{@currentModel.get 'name'}"

App.User = DS.Model.extend
  name:                 DS.attr 'string'
  email:                DS.attr 'string'
  password:             DS.attr 'string'
  passwordConfirmation: DS.attr 'string'