model

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feedback

type Feedback struct {
	model.Page
	Contact          []model.TextField   `json:"contact"`
	TypeRadios       model.RadioFieldset `json:"type_radios"`
	DescriptionField model.TextareaField `json:"description_field"`
	PreviousURL      string              `json:"previous_url"`
	ReturnTo         string              `json:"return_to"`
}

Page contains data reused for feedback model

type FeedbackForm added in v1.0.0

type FeedbackForm struct {
	FormLocation     string `schema:"feedback-form-type"`
	Type             string `schema:"type"`
	IsTypeErr        bool   `schema:"is_type_err"`
	URI              string `schema:":uri"`
	URL              string `schema:"url"`
	IsURLErr         bool   `schema:"is_url_err"`
	Description      string `schema:"description"`
	IsDescriptionErr bool   `schema:"is_description_err"`
	Name             string `schema:"name"`
	Email            string `schema:"email"`
	IsEmailErr       bool   `schema:"is_email_err"`
}

FeedbackForm represents the user feedback form

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL