mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 22:27:50 +01:00
647b2649b1
* Make sure fmt catches all templates Make's `wildcard` is not recursive so it missed many template files, fix that by using `find`. * Update Makefile
31 lines
1.2 KiB
Handlebars
31 lines
1.2 KiB
Handlebars
<div class="ui small modal" id="reference-issue-modal">
|
|
<div class="header">
|
|
{{.locale.Tr "repo.issues.context.reference_issue"}}
|
|
</div>
|
|
<div class="content" style="text-align:left">
|
|
<form class="ui form" action="{{Printf "%s/issues/new" .Repository.Link}}" method="post">
|
|
{{.CsrfTokenHtml}}
|
|
<div class="ui segment content">
|
|
<div class="field">
|
|
<span class="text"><strong>{{.locale.Tr "repository"}}</strong></span>
|
|
<div class="ui search normal selection dropdown issue_reference_repository_search">
|
|
<div class="default text">{{.Repository.FullName}}</div>
|
|
<div class="menu"></div>
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<span class="text"><strong>{{.locale.Tr "repo.milestones.title"}}</strong></span>
|
|
<input name="title" value="" autofocus required maxlength="255" autocomplete="off">
|
|
</div>
|
|
<div class="field">
|
|
<span class="text"><strong>{{.locale.Tr "repo.issues.reference_issue.body"}}</strong></span>
|
|
<textarea name="content" class="form-control"></textarea>
|
|
</div>
|
|
<div class="text right">
|
|
<button class="ui green button">{{.locale.Tr "repo.issues.create"}}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|