                            :on-change #(let [supported? (-> % .-target .-checked)]
                                          (db/set-idea-support! id supported?))}
             [:label [:input {:type :checkbox :id id}] title]])
-         [idea-form d]
+         ;; a button to open a modal?
+         ;; what about wanting to create an idea for multiple districts?
+         [:a.btn.btn-xs.btn-default {:disabled true} (str "Add idea to " d)]
          [:br]]))]))
 
-(defn add-idea-component []
-  [:div
-   (input-placeholder "Idea title" :text :idea.idea)
+(defn add-idea-form []
+  [:div
+   (input "Idea title" :text :idea.idea)
    [select-cat-component]
    [:p
     [:textarea.form-control
      {:rows "4" :placeholder "If necessary, add a description"}]]
    (for [i (range 3)]
      [:div {:key i}
-      (input-placeholder "Add a reference URL" :text (symbol (str "idea.url." i)))])
+      (input-placeholder "Add a reference URL" :text (symbol (str "idea.url." i)))])])
+
+(defn add-idea-component []
+  [:div
    [:button.btn.btn-default
     {:on-click #(db/create-idea! {:title     "More pizza"
                                   :desc      "Food for me"


(defn district-ideas [d]
  (filter (comp #(some #{d} %) :districts) @db/ideas))

;;; view helpers


       "Pick a category..."]
      (for [c @db/categories]
        [:option {:value c :key c} c])]])

(defn list-idea-blocks-component []
  (let [districts @db/districts]
