Add class to use in JS and tests

This commit is contained in:
kushalpandya 2017-07-19 18:15:33 +05:30
parent eed91391a0
commit f0aeccce81
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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