<%= image_tag("logo3.png") %>
<%= @page_title || "Planet Travel Site" %>
<% if current_user %>
<%= link_to current_user.name,
edit_user_registration_path %> |
<%= link_to "Sign out", destroy_user_session_path, :method => :delete %>
<% else %>
<%= link_to "Sign in", new_user_session_path %>
<% end %>
+
+ <% if current_user %>
+ <%= link_to current_user.name,
+ edit_user_registration_path %> |
+ <%= link_to "Sign out", destroy_user_session_path, :method => :delete %>
+ <% else %>
+ <%= link_to "Sign in", new_user_session_path %>
+ <% end %>
+
+ <%= form_tag({:controller => "planet", :action => "search"}, :method => "get") do %>
+ <%= label_tag(:q, "Search for:") %>
+ <%= text_field_tag(:q) %>
+ <%= submit_tag("Search", :class => "button") %>
+ <% end %>
+
+
<%= link_to "Home", planet_index_path %>
- <%= link_to "Tipos", types_path %>
- <%= link_to "Sitios", sites_path %>
- <%= link_to "Viajes", trips_path %>
+ <%= link_to "Types", types_path %>
+ <%= link_to 'Ordered Types', types_ordered_index_path %>
+ <%= link_to "Sites", sites_path %>
+ <%= link_to "Trips", trips_path %>
+ <%= link_to 'Example', planet_ejemplo_path %>
+ <%= link_to 'Authors', planet_author_path %>
<%= link_to "Contact", planet_contact_path %>
<%= link_to "Sign up", new_user_registration_path unless current_user %>
-
-
<%= notice %>
<%= alert %>
+
+
<%= notice %>
<%= alert %>
<%= yield %>
-