Add class to use in JS and tests
This commit is contained in:
parent
eed91391a0
commit
f0aeccce81
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
= form_for [@project.namespace.becomes(Namespace), @project, @protected_branch] do |f|
|
||||
= form_for [@project.namespace.becomes(Namespace), @project, @protected_branch], html: { class: 'new-protected-branch js-new-protected-branch' } do |f|
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h3.panel-title
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.panel.panel-default.protected-tags-list
|
||||
.panel.panel-default.protected-tags-list.js-protected-tags-list
|
||||
- if @protected_tags.empty?
|
||||
.panel-heading
|
||||
%h3.panel-title
|
||||
|
|
Loading…
Reference in a new issue