14 lines
427 B
Elixir
14 lines
427 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, value: @status_id %>
|
||
|
<%= text_input f, :profile, placeholder: "Your account ID, e.g. lain@quitter.se" %>
|
||
|
<%= submit "Interact" %>
|
||
|
<% end %>
|
||
|
<% end %>
|