%= if @error do %>
<%= @error %>
<% end %>
Log in to follow
<%= @followee.nickname %>
<%= form_for @conn, Routes.remote_follow_path(@conn, :do_follow), [as: "authorization"], fn f -> %>
<%= text_input f, :name, placeholder: "Username", required: true %>
<%= password_input f, :password, placeholder: "Password", required: true %>
<%= hidden_input f, :id, value: @followee.id %>
<%= submit "Authorize" %>
<% end %>