added id to edit
This commit is contained in:
parent
2f5f99df40
commit
110729602a
@ -56,8 +56,7 @@ func EditProject(project *ent.Project) g.Node {
|
|||||||
b.ImgSq64,
|
b.ImgSq64,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
b.Label("ID: "+strconv.Itoa(project.ID)),
|
b.Textarea(strconv.Itoa(project.ID), b.Rows(1), e.Name("project_id"), e.Type("hidden")),
|
||||||
b.Textarea(strconv.Itoa(project.ID), b.Rows(1), e.Name("project_id")),
|
|
||||||
b.Label("Name"),
|
b.Label("Name"),
|
||||||
b.Textarea(project.Name, b.Rows(1), e.Name("project_name")),
|
b.Textarea(project.Name, b.Rows(1), e.Name("project_name")),
|
||||||
b.Subtitle(
|
b.Subtitle(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user