"/>
<%= instance_name() %>
Search
<%= if @conn.assigns[:user] do %>
Logged in as
<%= @conn.assigns[:user].username %>
.
<%= form_for @conn, Routes.login_path(@conn, :logout), [method: :post], fn f -> %> <%= submit "Log Out", class: "btn-link" %> <% end %>
<% else %>
Log In
<% end %>
<%= get_flash(@conn, :info) %>
<%= get_flash(@conn, :error) %>
<%= render @view_module, @view_template, assigns %>