diff options
Diffstat (limited to 'templates/repo/release/new.tmpl')
-rw-r--r-- | templates/repo/release/new.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index 0bd69995b6..1cd37d2dd3 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -20,11 +20,11 @@ <b>{{.tag_name}}</b><span class="at">@</span><strong>{{.tag_target}}</strong> {{else}} <input id="tag-name" name="tag_name" value="{{.tag_name}}" placeholder="{{.locale.Tr "repo.release.tag_name"}}" autofocus required maxlength="255"> - <input id="tag-name-editor" type="hidden" data-existing-tags={{Json .Tags}} data-tag-helper={{.locale.Tr "repo.release.tag_helper"}} data-tag-helper-new={{.locale.Tr "repo.release.tag_helper_new"}} data-tag-helper-existing={{.locale.Tr "repo.release.tag_helper_existing"}} /> + <input id="tag-name-editor" type="hidden" data-existing-tags={{Json .Tags}} data-tag-helper={{.locale.Tr "repo.release.tag_helper"}} data-tag-helper-new={{.locale.Tr "repo.release.tag_helper_new"}} data-tag-helper-existing={{.locale.Tr "repo.release.tag_helper_existing"}}> <div id="tag-target-selector" class="gt-dib"> <span class="at">@</span> <div class="ui selection dropdown"> - <input type="hidden" name="tag_target" value="{{.tag_target}}"/> + <input type="hidden" name="tag_target" value="{{.tag_target}}"> {{svg "octicon-git-branch"}} <div class="text"> {{.locale.Tr "repo.release.target"}} : @@ -70,8 +70,8 @@ </a> </div> <div class="gt-df gt-ac"> - <input name="attachment-edit-{{.UUID}}" class="gt-mr-3 attachment_edit" required value="{{.Name}}"/> - <input name="attachment-del-{{.UUID}}" type="hidden" value="false"/> + <input name="attachment-edit-{{.UUID}}" class="gt-mr-3 attachment_edit" required value="{{.Name}}"> + <input name="attachment-del-{{.UUID}}" type="hidden" value="false"> <span class="ui text grey gt-mr-3">{{.Size | FileSize}}</span> <span data-tooltip-content="{{$.locale.Tr "repo.release.download_count" (.DownloadCount | PrettyNumber)}}"> {{svg "octicon-info"}} |