 
 (defn evidence-block [data state init-data]
   [:div
-      [:div.form-group
-   [:label {:class "col-md-12 sub-heading" :for "evidence"} (t :badge/Evidence)]
+   [:div.form-group
+    [:label {:class "col-md-12 sub-heading" :for "evidence"} (t :badge/Evidence)]
 
     [:div.col-md-9
-    [:i.fa.fa-plus-square]
-    [:a {:href "#" :on-click #(do (.preventDefault %)
-                                (swap! state assoc :tab [evidence-form data state init-data] :tab-no 2))} "Add new evidence"]]
-   ]])
+     [:i.fa.fa-plus-square]
+     [:a {:href "#" :on-click #(do (.preventDefault %)
+                                 (swap! state assoc :tab [evidence-form data state init-data] :tab-no 2))} "Add new evidence"]]
+    ]])
 
 (defn evidence-modal [state]
   (fn []

        evidence-audience-atom (cursor state [:evidence :audience])
        evidence-genre-atom (cursor state [:evidence :genre])
        evidence-url-atom (cursor state [:evidence :url])
        url-input-enabled? (cursor state [:enable_url_input])
        {:keys [image_file name]} data]
    [:div {:id "badge-settings" :class "row flip"}
     [:div {:class "col-md-3 badge-image modal-left"}

(ns salava.badge.ui.evidence
  (:require [salava.core.ui.modal :as mo]
            [reagent.core :refer [cursor atom]]
            [salava.core.i18n :refer [t]]
            [reagent.session :as session]
            [salava.core.ui.helper :refer [plugin-fun path-for hyperlink base-url]]
            [salava.core.ui.ajax-utils :as ajax]
            [salava.core.time :refer [date-from-unix-time]]
            [clojure.string :refer [blank? includes?]]
            [salava.file.icons :refer [file-icon]]))

(defn input [input-data textarea?]
  (let [{:keys [name atom placeholder type error-message-atom rows cols]} input-data]
