Merge pull request #7409 from robbytaylor/feature/remove-redundant-spans

Removed redundant spans
This commit is contained in:
Dmitriy Zaporozhets
2014-09-01 14:14:38 +03:00
2 changed files with 6 additions and 8 deletions
+3 -4
View File
@@ -2,10 +2,9 @@
.panel-heading.clearfix
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group?
%span.pull-right
= link_to new_group_path, class: "btn btn-new" do
%i.icon-plus
New group
= link_to new_group_path, class: "btn btn-new pull-right" do
%i.icon-plus
New group
%ul.well-list.dash-list
- groups.each do |group|
%li.group-row
+3 -4
View File
@@ -2,10 +2,9 @@
.panel-heading.clearfix
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_project?
%span.pull-right
= link_to new_project_path, class: "btn btn-new" do
%i.icon-plus
New project
= link_to new_project_path, class: "btn btn-new pull-right" do
%i.icon-plus
New project
%ul.well-list.dash-list
- projects.each do |project|