       'change form input[name="AMT"]': 'updateDonation'
       'change form input[name="BILL_EMAIL_ADDRESS"]': 'updateEmail'
 
+    initialize: () ->
+      super()
+      queryString = linksHelper.serializeQuery(location.search)
+      @amount = queryString.amount or 10
+
     updateName: (e) ->
       $form = @$el.find('form')
       first = $form.find('input[name="first"]').val()

define (require) ->
  BaseView = require('cs!helpers/backbone/views/base')
  template = require('hbs!./form-template')
  require('less!./form')

    templateHelpers:
      countries: countries
      states: states
      amount: () -> @amount

    events:
      'change form input[name="first"]': 'updateName'
