Removed redundant spans
This commit is contained in:
parent
3ed2fce208
commit
e8e2de0731
|
@ -2,10 +2,9 @@
|
||||||
.panel-heading.clearfix
|
.panel-heading.clearfix
|
||||||
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
|
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
|
||||||
- if current_user.can_create_group?
|
- if current_user.can_create_group?
|
||||||
%span.pull-right
|
= link_to new_group_path, class: "btn btn-new pull-right" do
|
||||||
= link_to new_group_path, class: "btn btn-new" do
|
%i.icon-plus
|
||||||
%i.icon-plus
|
New group
|
||||||
New group
|
|
||||||
%ul.well-list.dash-list
|
%ul.well-list.dash-list
|
||||||
- groups.each do |group|
|
- groups.each do |group|
|
||||||
%li.group-row
|
%li.group-row
|
||||||
|
|
|
@ -2,10 +2,9 @@
|
||||||
.panel-heading.clearfix
|
.panel-heading.clearfix
|
||||||
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
|
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
|
||||||
- if current_user.can_create_project?
|
- if current_user.can_create_project?
|
||||||
%span.pull-right
|
= link_to new_project_path, class: "btn btn-new pull-right" do
|
||||||
= link_to new_project_path, class: "btn btn-new" do
|
%i.icon-plus
|
||||||
%i.icon-plus
|
New project
|
||||||
New project
|
|
||||||
|
|
||||||
%ul.well-list.dash-list
|
%ul.well-list.dash-list
|
||||||
- projects.each do |project|
|
- projects.each do |project|
|
||||||
|
|
Loading…
Reference in New Issue