           (assertion-url-upload-content state)
           (badge-file-upload-content state))]
 
-       #_[:div
+       [:div
           [upload-info]
           (cond
             (= "loading" status) [:div.ajax-message

                                      :aria-label "Choose file"
                                      :name       "file"
                                      :on-change  #(send-file state)
                                      :accept     "image/png, image/svg+xml"}]])]))

(defn assertion-url-upload-content [state]
  (let [assertion-url (cursor state [:assertion-url])
        status  (:status @state)]
    [:div
     [:h1.uppercase-header (t :badge/Uploadbadgesviaassertion)]
     [assertion-upload-info]
     (cond
       (= "loading" status) [:div.ajax-message

                                        :on-click #(do
                                                     (swap! state assoc :status "loading")
                                                     (send-assertion state))
                                        } (t :badge/ImportBadge)]]])
     [:br]]))

#_(defn content [state]
  (let [status  (:status @state)
        assertion-url (cursor state [:input-assertion-url])
        selection-atom (cursor state [:input-upload-method])]
