Commit 2dc31b76 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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

Removed redundant spans
parents 94e7138b e8e2de07
......@@ -2,8 +2,7 @@
.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
= link_to new_group_path, class: "btn btn-new pull-right" do
%i.icon-plus
New group
%ul.well-list.dash-list
......
......@@ -2,8 +2,7 @@
.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
= link_to new_project_path, class: "btn btn-new pull-right" do
%i.icon-plus
New project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment