                     (reset! status (if (= "true" @status) "false" "true")))}  (if closed? (t :admin/Reportproblem) (t :core/Close))])
 
 (defn reportform [state status]
-  (let [description-atom (cursor state [:description]) 
+  (let [description-atom (cursor state [:description])
         report-type-atom (cursor state [:report-type])]
     [:div  {:class "row report-form"}
      (open-reportform-button false status)
-     
+
      [:div {:class "col-xs-12" :id "reportform"}
       [:h4 (t :admin/Reportproblem)]
       [:div.form-group


(defn url-creator [item-type id]
  (cond
    (= item-type "badges") (path-for (str "/gallery/badgeview/" id))  
    (= item-type "page") (path-for (str "/page/view/" id))
     (= item-type "user") (path-for (str "/user/profile/" id))
    :else (current-path)))



                   }]
          (t :admin/other)]]]
       [:div.form-group
        [:label
         (str (t :admin/Description) ":")]
        [:textarea {:class    "form-control"
                    :rows     "5"
                    :value    @description-atom
                    :onChange #(reset! description-atom (.-target.value %))}]]
       [:div.form-group
        [:button {:class    "btn btn-primary"
                  :on-click #(do
