 
 (defn plans-trial-notification [plan org-name owner]
   [:div.row-fluid
-   [:div.alert.alert-success {:class (when (plan-model/trial-over? plan) "alert-error")}
+   [:div.alert.alert-success {:class (when (pm/trial-over? plan) "alert-error")}
     [:p
-     (if (plan-model/trial-over? plan)
+     (if (pm/trial-over? plan)
        "Your 2-week trial is over!"
 
        [:span "The " [:strong org-name] " organization has "
-        (plan-model/pretty-trial-time plan) " left in its trial."])]
+        (pm/pretty-trial-time plan) " left in its trial."])]
     [:p
      "The trial plan is equivalent to the Solo plan with 6 containers."]
     (when (and (not (:too_many_extensions plan))
-               (> 3 (plan-model/days-left-in-trial plan)))
+               (> 3 (pm/days-left-in-trial plan)))
       [:p
        "Need more time to decide? "
        (forms/managed-button

                [:div.container-picker
                 [:p "More containers means faster builds and lower queue times."]
                 [:div.container-slider
                  (let [min (+ (plan-model/freemium-containers plan) (plan-model/paid-plan-min-containers plan))
                        max (if (< selected-containers 80)
                              80
                              (let [num (+ 80 selected-containers)]

                                                     :value (int (.. % -target -value)))}]
                     [:span max]))]
                 [:div
                  [:input {:type "text" :value selected-containers
                           :on-change #(utils/edit-input owner state/selected-containers-path %
                                                         :value (int (.. % -target -value)))}]
                  [:span "containers for " (if (= 0 new-total) "Free!" (str "$" new-total "/month"))]
                  (when (not (= new-total old-total))
                    [:span.strikeout (str "$" old-total "/month")])
                  (when (pm/grandfathered? plan)
                    [:span.grandfather
                     "(grandfathered"
                     [:i.fa.fa-question-circle#grandfathered-tooltip-hack
