Download this file
| 1 | {{define "content"}} |
| 2 | <div rst-stack><h1>{{copy "templates.diff"}}</h1> |
| 3 | <form method="post" action="/specialists/{{.Library.Specialist.Key}}/template-update" equipo-form> |
| 4 | <input type="hidden" name="request_id" value="{{.Library.RequestID}}"> |
| 5 | <input type="hidden" name="revision" value="{{.Library.Diff.CurrentRevision}}"> |
| 6 | <input type="hidden" name="diff" value="{{.Library.DiffJSON}}"> |
| 7 | {{range .Library.Fields}}<section equipo-card rst-stack> |
| 8 | <label><input type="checkbox" name="field" value="{{.Key}}">{{copy .CopyKey}}</label> |
| 9 | <dl><dt>{{copy "templates.old"}}</dt><dd>{{.Old}}</dd><dt>{{copy "templates.current"}}</dt><dd>{{.Current}}</dd><dt>{{copy "templates.suggested"}}</dt><dd>{{.Suggested}}</dd></dl> |
| 10 | </section>{{end}} |
| 11 | <button rst-btn="primary" type="submit">{{copy "templates.apply"}}</button> |
| 12 | </form></div> |
| 13 | {{end}} |
| 14 | |