MV: generic_form.hamlet -> formPage.hamlet
This commit is contained in:
parent
df76f62ad5
commit
a29cefe7d2
@ -221,7 +221,7 @@ courseEditHandler course = do
|
|||||||
let formActions = defaultFormActions
|
let formActions = defaultFormActions
|
||||||
defaultLayout $ do
|
defaultLayout $ do
|
||||||
setTitle [shamlet| #{formTitle} |]
|
setTitle [shamlet| #{formTitle} |]
|
||||||
$(widgetFile "generic_form")
|
$(widgetFile "formPage")
|
||||||
|
|
||||||
|
|
||||||
data CourseForm = CourseForm
|
data CourseForm = CourseForm
|
||||||
|
|||||||
@ -113,7 +113,7 @@ termEditHandler term = do
|
|||||||
let formActions = defaultFormActions
|
let formActions = defaultFormActions
|
||||||
defaultLayout $ do
|
defaultLayout $ do
|
||||||
setTitle [shamlet| #{formTitle} |]
|
setTitle [shamlet| #{formTitle} |]
|
||||||
$(widgetFile "generic_form")
|
$(widgetFile "formPage")
|
||||||
|
|
||||||
{-
|
{-
|
||||||
wdgtTermForm :: (ToWidget UniWorX a) => a -> Enctype -> Handler Html
|
wdgtTermForm :: (ToWidget UniWorX a) => a -> Enctype -> Handler Html
|
||||||
@ -123,7 +123,7 @@ wdgtTermForm formWidget formEnctype = do
|
|||||||
let formActions = defaultFormActions
|
let formActions = defaultFormActions
|
||||||
defaultLayout $ do
|
defaultLayout $ do
|
||||||
setTitle [shamlet| #{formTitle} |]
|
setTitle [shamlet| #{formTitle} |]
|
||||||
$(widgetFile "generic_form")
|
$(widgetFile "formPage")
|
||||||
-}
|
-}
|
||||||
|
|
||||||
newTermForm :: Maybe Term -> Form Term
|
newTermForm :: Maybe Term -> Form Term
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user