mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-29 08:17:31 -04:00
7a69d71733
fix #26427 related https://github.com/go-gitea/gitea/pull/25258 --- Before: ![gitea](https://github.com/go-gitea/gitea/assets/50507092/ed8d3a17-1f63-42f2-a698-3b684e70dc91) --- After: ![After](https://github.com/go-gitea/gitea/assets/50507092/b8e1338f-c520-4abc-b0df-b812c021ac7e)
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 form-fetch-action" 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>
|