2020-05-15 00:45:21 +05:30
|
|
|
<div class="ui top tabular menu" data-write="write" data-preview="preview">
|
2022-06-28 02:28:46 +05:30
|
|
|
<a class="active item" data-tab="write">{{.locale.Tr "write"}}</a>
|
|
|
|
<a class="item" data-tab="preview" data-url="{{.Repository.HTMLURL}}/markdown" data-context="{{.RepoLink}}">{{.locale.Tr "preview"}}</a>
|
2020-05-15 00:45:21 +05:30
|
|
|
</div>
|
2015-08-12 16:14:09 +05:30
|
|
|
<div class="field">
|
2020-05-15 00:45:21 +05:30
|
|
|
<div class="ui bottom active tab" data-tab="write">
|
2022-04-08 09:52:10 +05:30
|
|
|
<textarea id="content" class="edit_area js-quick-submit" name="content" tabindex="4" data-id="issue-{{.RepoName}}" data-url="{{.Repository.HTMLURL}}/markdown" data-context="{{.Repo.RepoLink}}">
|
2021-03-18 07:32:38 +05:30
|
|
|
{{- if .BodyQuery}}{{.BodyQuery}}{{else if .IssueTemplate}}{{.IssueTemplate}}{{else if .PullRequestTemplate}}{{.PullRequestTemplate}}{{else}}{{.content}}{{end -}}
|
|
|
|
</textarea>
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
2021-05-07 14:13:41 +05:30
|
|
|
<div class="ui bottom tab markup" data-tab="preview">
|
2022-06-28 02:28:46 +05:30
|
|
|
{{.locale.Tr "loading"}}
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
2015-08-12 16:14:09 +05:30
|
|
|
</div>
|
|
|
|
{{if .IsAttachmentEnabled}}
|
2020-10-05 11:19:33 +05:30
|
|
|
<div class="field">
|
|
|
|
{{template "repo/upload" .}}
|
|
|
|
</div>
|
2015-12-08 04:00:52 +05:30
|
|
|
{{end}}
|