summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/sidebar/pull_maintainer_edits.tmpl
blob: 6ec5c05fd78756b7f18b03d3a79bd7cea4f4d47f (plain)
1
2
3
4
5
6
7
8
9
10
<div class="inline field">
	<div class="ui checkbox loading-icon-2px" id="allow-edits-from-maintainers"
			data-url="{{.Issue.Link}}"
			data-tooltip-content="{{ctx.Locale.Tr "repo.pulls.allow_edits_from_maintainers_desc"}}"
			data-prompt-error="{{ctx.Locale.Tr "repo.pulls.allow_edits_from_maintainers_err"}}"
		>
		<label><strong>{{ctx.Locale.Tr "repo.pulls.allow_edits_from_maintainers"}}</strong></label>
		<input type="checkbox" {{if .Issue.PullRequest.AllowMaintainerEdit}}checked{{end}}>
	</div>
</div>