"/>
<%= instance_name() %>
<%= if @conn.assigns[:user] do %>
Search
<% end %>
<%= if @conn.assigns[:user] do %>
Logged in as
<%= @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 %>