       :title "Click here to return to the list of accounts"}
      "Back"]))
 
-(defmethod show-account :commodity
+(defmethod show-account :trading-detail
   [account params]
   (html
     [:p


(defmulti ^:private show-account
  (fn [account params]
    (:content-type account)))

(defmethod ^:private show-account :currency
  [account params]
  (html
    [:table.table.table-striped.table-hover

                      :level :danger
                      :title "Click here to sell shares of this commodity."})])]])

(defmethod show-account :trading-account
  [account params]
  (html
    (let [summary (reports/commodities-account-summary (env :db) (:id account))]
