       [:div.col-xs-12
        [:div.list-group
         [:a.list-group-item {:id "phrase1" :href "#" :on-click #(do
-                                                    (.preventDefault %)
-                                                    (process-text (t :badge/Endorsephrase1) state)
-                                                    )} [:i.fa.fa-plus-circle](t :badge/Endorsephrase1)]
+                                                                  (.preventDefault %)
+                                                                  (process-text (t :badge/Endorsephrase1) state)
+                                                                  )} [:i.fa.fa-plus-circle](t :badge/Endorsephrase1)]
         [:a.list-group-item {:href "#" :on-click #(do
                                                     (.preventDefault %)
                                                     (process-text (t :badge/Endorsephrase2) state)

(ns salava.badge.ui.endorsement
  (:require [salava.core.i18n :refer [t]]
            [reagent.core :refer [atom cursor create-class]]
            [salava.core.time :refer [unix-time date-from-unix-time]]
            [salava.core.ui.ajax-utils :as ajax]
            [salava.core.ui.helper :refer [path-for private?]]

                                           :data-dismiss "modal"} [:i.fa.fa-remove] (t :badge/Declineendorsement)]]]]
               [:div.row.flip.buttons
                [:div.col-md-8 #_[:button.btn.btn-primary {:on-click #(do
                                                                        (.preventDefault %)
                                                                        (edit-endorsement id user_badge_id @(cursor params [:endorsement :content])))
                                                           :disabled (blank? @(cursor params [:endorsement :content]))
                                                           :data-dismiss "modal"

                                                           } (t :core/Save)]
                 [:button.btn.btn-warning.cancel {:data-dismiss "modal"} (t :core/Cancel)]]
                ;[:div.col-xs-12.delete-btn {:style {:margin "10px 0px 10px 0px" :cursor "pointer" :width "100%"}}
                [:div.col-md-4 [:a.delete-btn {:style {:line-height "4" :cursor "pointer"}
