You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
completed project section
This commit is contained in:
27
cmd/web-app/templates/content/projects-create.gohtml
Normal file
27
cmd/web-app/templates/content/projects-create.gohtml
Normal file
@ -0,0 +1,27 @@
|
||||
{{define "title"}}Create Project{{end}}
|
||||
{{define "style"}}
|
||||
|
||||
{{end}}
|
||||
{{define "content"}}
|
||||
<form class="user" method="post" novalidate>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="inputName">Name</label>
|
||||
<input type="text" class="form-control {{ ValidationFieldClass $.validationErrors "Name" }}"
|
||||
placeholder="enter name" name="Name" id="inputName" value="{{ .form.Name }}" required>
|
||||
{{template "invalid-feedback" dict "validationDefaults" $.validationDefaults "validationErrors" $.validationErrors "fieldName" "Name" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer-30"></div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<input id="btnSubmit" type="submit" name="action" value="Save" class="btn btn-primary"/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{{end}}
|
||||
{{define "js"}}
|
||||
|
||||
{{end}}
|
Reference in New Issue
Block a user