          (form-group "title" "Otsikko" {:required "required"})
          [:div.form-group
           [:label {:for "sport"} "Laji"]
-          [:select.form-control {:name "sport" :required "required"} (form/select-options sports)]]
+          [:select.form-control {:name "sport" :required "required"} sports-options]]
          [:div.form-group
           [:label "Aika"] [:br]
           [:input {:name "duration.h" :type "number" :max "99" :min "0"}] "h"

   [:link {:rel "stylesheet" :href "/s/css/simple.css"}]

   [:meta {:name "viewport" :content "width=device-width, initial-scale=1"}]
   [:meta {:charset "utf-8"}]
   [:script {:src "http://code.jquery.com/jquery-1.11.1.min.js"}]
   [:script {:src "http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"}]

    [:label {:for id} name]
    [:input.form-control (merge {:id id :name id} params)]]))

(def sports-options (form/select-options (map (fn [s] [s s]) nlp/sports)))

(defn addex [{params :params user :user}]
  [:html
   (head "Lisää")
   [:body {:role "document"}
