 (ns clouseau.server)
 
 (require '[ring.util.response     :as http-response])
-(require '[hiccup.core :as hiccup])
-(require '[hiccup.page :as page])
-(require '[hiccup.form :as form])
-
-(require '[clojure.java.jdbc :as jdbc])
+(require '[hiccup.core            :as hiccup])
+(require '[hiccup.page            :as page])
+(require '[hiccup.form            :as form])
+(require '[clojure.java.jdbc      :as jdbc])
 
 (require '[clouseau.products :as products])
 (require '[clouseau.calendar :as calendar])

    (jdbc/insert! db-spec/ccs-db :packages {:name package :description description}))

(defn not-empty-parameter?
    [parameter]
    (and parameter (not (empty? parameter))))

(defn store-changes
    [user-name package description]
    (if (and (not-empty-parameter? package) (not-empty-parameter? description))
        (let [date (calendar/format-date-time (calendar/get-calendar))]

        )))

(defn render-html-header
    "Renders part of HTML page - the header."
    [package]
    [:head
        [:title "Clouseau   " package]
