Skip to content

Commit f3d51f8

Browse files
authored
Update protected_branch.tmpl
1 parent 7d46cb6 commit f3d51f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/settings/protected_branch.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
</h4>
1111
<div class="ui attached segment branch-protection">
1212
<h5 class="ui dividing header">{{ctx.Locale.Tr "repo.settings.protect_patterns"}}</h5>
13-
<div class="field">
13+
<div class="field required">
1414
<label>{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern"}}</label>
15-
<input name="rule_name" type="text" value="{{.Rule.RuleName}}">
15+
<input name="rule_name" type="text" value="{{.Rule.RuleName}}" required>
1616
<input name="rule_id" type="hidden" value="{{.Rule.ID}}">
1717
<p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern_desc" "https://github.com/gobwas/glob"}}</p>
1818
</div>

0 commit comments

Comments
 (0)