         item (-> params
                  (select-keys [:budget-id :method])
                  (tag-resource :budget-item)
-                 (authorize :new))]
+                 (authorize :create))]
     (with-layout (str "Budget " (:name budget) ": New item") {:entity-id (:entity-id budget)}
       (form (format "/budgets/%s/items" budget-id) {}
             (item-form-fields item budget)))))

  "Renders a form for editing a budget item"
  [{{:keys [id method]} :params item :item}]
  (let [item (or item
                 (authorize (budgets/find-item-by-id (env :db) id) :edit))
        budget (budgets/find-by-id (env :db) (:budget-id item))
        account (accounts/find-by-id (env :db) (:account-id item))]
    (with-layout (format "Budget %s: %s" (:name budget) (:name account)) {:entity-id (:entity-id budget)}

                      :period-count 12
                      :start-date start-date}
                    (tag-resource :budget)
                    (authorize :create))]
     (new-budget req budget)))
  ([{{entity :entity} :params} budget]
   (with-layout "New budget" {:entity entity}
