akkoma/lib/pleroma/web/templates/twitter_api/util/status_interact.html.eex
2022-08-20 21:13:51 -04:00

13 lines
430 B
Elixir

<%= if @error do %>
<h2>Error: <%= @error %></h2>
<% else %>
<h2>Interacting with <%= @nickname %></h2>
<div>
<%= @status_id %>
</div>
<%= form_for @conn, Routes.util_path(@conn, :remote_subscribe), [as: "status"], fn f -> %>
<%= hidden_input f, :status_id, value: @status_id %>
<%= text_input f, :profile, placeholder: "Your account ID, e.g. lain@quitter.se" %>
<%= submit "Interact" %>
<% end %>
<% end %>