Browse Source

Switched table from face to face_view

Dmitry Yu Okunev 4 years ago
parent
commit
53bd5ebafe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      person.go

+ 2 - 1
person.go

@@ -7,9 +7,10 @@ import (
 	"html/template"
 )
 
-//reform:face
+//reform:face_view
 type Person struct {
 	EmpGUID     int     `reform:"EmpGUID"     view:"readonly"`
+	PersonId    *int    `reform:"person_id"   view:"readonly"`
 	Lastname    string  `reform:"SurName"     view:"readonly"`
 	Firstname   string  `reform:"FirstName"   view:"readonly"`
 	Patronymic  *string `reform:"MiddleName"  view:"readonly"`