        [:div {:class "col-lg-2"}]
        [:div {:class "col-lg-8"}
         [:div {:class "add-conference-form-container bg-light"}
-         [forms/bind-fields conference-form-template doc]
+         [forms/bind-fields (conference-form-template doc) doc]
          [:button {:class "btn btn-primary btn-md btn-orange" :on-click #(create-conference doc)} "Create"]]]
        [:div {:class "col-lg-2"}]]]]))

       "<p>"series"</p>"
       "</div>"))

(def conference-series-component
  (typeahead/init-typeahead
    conference-series-input
    (typeahead/config {:hint true,
                       :highlight true,
                       :minLength 1})

   [:label {:for (:id (second input))} label]
   input])

(defn conference-series-input [data-atom]
  (fn []
    [:input {:field :text :on-blur (fn [e] (swap! data-atom #(assoc % :series (-> e .-target .-value)))) :id :series :class "form-control" :placeholder "Name of the conference series, e.g. EuroClojure for the EuroClojure 2015 conference"}]))

(defn conference-series-suggestions [q cb]
  (backend/load-series-suggestions q (fn [x]
