package templates

// TabloCreateForm carries the submitted field values back to the template so
// inputs can be repopulated on validation failure.
type TabloCreateForm struct {
	Title       string
	Description string
	Color       string
}

// TabloCreateErrors holds per-field and general error messages for the tablo
// create form. A field with an empty string means "no error for this field".
type TabloCreateErrors struct {
	Title   string
	Color   string
	General string
}

// TabloUpdateErrors holds per-field and general error messages for the tablo
// inline-edit forms (title and description). A field with an empty string
// means "no error for this field".
type TabloUpdateErrors struct {
	Title       string
	Description string
	General     string
}
