 @todo
 ###
 
-require './style'
+require "./style"
 Autocomplete  = require "../autocomplete"
 Button        = require "../button"
 Input         = require "../input"

    value[ref] = el.getValue() for ref, el of @refs when el.getValue?
    value

  setValue: (data) ->
    @setState attributes: data

  getInitialState: ->
    attributes        : if @props.storage then do @storage else @props.attributes

  # -- Lifecycle
  componentWillReceiveProps: (next_props) ->
    @setValue next_props.attributes if next_props.attributes

  # -- Events
  onSubmit: (event) ->
    event.preventDefault()
