logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

follow.html.eex (617B)


  1. <%= if @error == :error do %>
  2. <h2><%= Gettext.dpgettext("static_pages", "remote follow error", "Error fetching user") %></h2>
  3. <% else %>
  4. <h2><%= Gettext.dpgettext("static_pages", "remote follow header", "Remote follow") %></h2>
  5. <img height="128" width="128" src="<%= avatar_url(@followee) %>">
  6. <p><%= @followee.nickname %></p>
  7. <%= form_for @conn, Routes.remote_follow_path(@conn, :do_follow), [as: "user"], fn f -> %>
  8. <%= hidden_input f, :id, value: @followee.id %>
  9. <%= submit Gettext.dpgettext("static_pages", "remote follow authorization button", "Authorize") %>
  10. <% end %>
  11. <% end %>