Skip to content

Commit

Permalink
Fixed the placement of the search bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
keegan committed Jul 16, 2008
1 parent a93a712 commit e7cf72d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/views/layouts/application.html.haml
Expand Up @@ -10,18 +10,17 @@
#Header
%h1
BIND DLZ on Rails
#search-bar{:style => "float: right"}
- if current_user
#search-bar{:style => "display: inline; float: right;"}
- form_for( :search, :url => { :controller => :search, :action => :results } ) do |f|
= f.text_field :parameter
= submit_tag "Search"
- if current_user
#Nav
%ul
%li
= link_to "Zones", zones_path
%li
= link_to "Templates", zone_templates_path
/ Logs
%li
= link_to "Users", users_path
%li
Expand Down

0 comments on commit e7cf72d

Please sign in to comment.