github.com/wawandco/ox@v0.13.6-0.20230809142027-913b3d837f2a/plugins/tools/ox/resource/templates/new.html.tmpl (about) 1 <div class="py-4 mb-2"> 2 <h3 class="d-inline-block">New {{ .Name.Proper }}</h3> 3 </div> 4 5 <%= formFor({{.Name.VarCaseSingle}}, {action: {{ .Name.VarCasePlural }}Path(), method: "POST"}) { %> 6 <%= partial("{{ .Name.Folder.Pluralize }}/form.html") %> 7 <%= linkTo({{ .Name.VarCasePlural }}Path(), {class: "btn btn-warning", "data-confirm": "Are you sure?", body: "Cancel"}) %> 8 <% } %>