We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221ab65 commit a8f91d4Copy full SHA for a8f91d4
app/views/repositories/_form.html.erb
@@ -139,8 +139,8 @@
139
<p>
140
<label><%= l(:label_enable_protected_branches) %></label>
141
<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] %>
+ <%= hidden_field_tag "extra[protected_branch]", "false" %>
+ <%= check_box_tag "extra[protected_branch]", @repository.extra[:protected_branch], @repository.extra[:protected_branch] %>
144
</span>
145
</p>
146
<% end %>
0 commit comments