diff options
Diffstat (limited to 'src/client/Dialog/Model.elm')
-rw-r--r-- | src/client/Dialog/Model.elm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/client/Dialog/Model.elm b/src/client/Dialog/Model.elm new file mode 100644 index 0000000..ff8bc57 --- /dev/null +++ b/src/client/Dialog/Model.elm @@ -0,0 +1,23 @@ +module Dialog.Model exposing + ( Model + , init + ) + +import Form exposing (Form) + +import Dialog.AddPayment.Model as AddPayment +import Dialog.AddIncome.Model as AddIncome +import Dialog.AddCategory.Model as AddCategory + +type alias Model = + { addPayment : Form String AddPayment.Model + , addIncome : Form String AddIncome.Model + , addCategory : Form String AddCategory.Model + } + +init : Model +init = + { addPayment = AddPayment.init + , addIncome = AddIncome.init + , addCategory = AddCategory.init + } |