Commit 5b0bcd2c authored by Clement Ho's avatar Clement Ho

[skip ci] Convert navbar-form and navbar-fixed-top

parent 737854e6
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- if @project && @project.persisted? - if @project && @project.persisted?
- project_data_attrs = { project_path: j(@project.path), name: j(@project.name), issues_path: project_issues_path(@project), mr_path: project_merge_requests_path(@project), issues_disabled: !@project.issues_enabled? } - project_data_attrs = { project_path: j(@project.path), name: j(@project.name), issues_path: project_issues_path(@project), mr_path: project_merge_requests_path(@project), issues_disabled: !@project.issues_enabled? }
.search.search-form{ class: "#{'has-location-badge' if label.present?}" } .search.search-form{ class: "#{'has-location-badge' if label.present?}" }
= form_tag search_path, method: :get, class: 'navbar-form' do |f| = form_tag search_path, method: :get, class: 'form-inline' do |f|
.search-input-container .search-input-container
- if label.present? - if label.present?
.location-badge= label .location-badge= label
......
%header.navbar.navbar-fixed-top.navbar-empty %header.navbar.fixed-top.navbar-empty
.container .container
.center-logo .center-logo
= brand_header_logo = brand_header_logo
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