2021-01-21 08:51:17 -05:00
|
|
|
<div class="ui small modal" id="reference-issue-modal">
|
|
|
|
<div class="header">
|
2022-06-27 15:58:46 -05:00
|
|
|
{{.locale.Tr "repo.issues.context.reference_issue"}}
|
2021-01-21 08:51:17 -05:00
|
|
|
</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">
|
2022-06-27 15:58:46 -05:00
|
|
|
<span class="text"><strong>{{.locale.Tr "repository"}}</strong></span>
|
2021-01-21 08:51:17 -05:00
|
|
|
<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">
|
2022-06-27 15:58:46 -05:00
|
|
|
<span class="text"><strong>{{.locale.Tr "repo.milestones.title"}}</strong></span>
|
2021-01-21 08:51:17 -05:00
|
|
|
<input name="title" value="" autofocus required maxlength="255" autocomplete="off">
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
2022-06-27 15:58:46 -05:00
|
|
|
<span class="text"><strong>{{.locale.Tr "repo.issues.reference_issue.body"}}</strong></span>
|
2021-01-21 08:51:17 -05:00
|
|
|
<textarea name="content" class="form-control"></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="text right">
|
2022-06-27 15:58:46 -05:00
|
|
|
<button class="ui green button">{{.locale.Tr "repo.issues.create"}}</button>
|
2021-01-21 08:51:17 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|