Skip to content

Commit a8f91d4

Browse files
author
root
committed
Typo
1 parent 221ab65 commit a8f91d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/views/repositories/_form.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@
139139
<p>
140140
<label><%= l(:label_enable_protected_branches) %></label>
141141
<span class="bootstrap-switch switch-small" data-on="primary" data-off="default" data-on-label="<%= l(:label_yes) %>" data-off-label="<%= l(:label_no) %>">
142-
<%= hidden_field_tag "extra[protected_branches]", "false" %>
143-
<%= check_box_tag "extra[protected_branches]", @repository.extra[:protected_branches], @repository.extra[:protected_branches] %>
142+
<%= hidden_field_tag "extra[protected_branch]", "false" %>
143+
<%= check_box_tag "extra[protected_branch]", @repository.extra[:protected_branch], @repository.extra[:protected_branch] %>
144144
</span>
145145
</p>
146146
<% end %>

0 commit comments

Comments
 (0)