FloatingGhost
6cb40bee26
All checks were successful
Closes #612 Co-authored-by: tusooa <tusooa@kazv.moe> Reviewed-on: #626 Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Co-committed-by: FloatingGhost <hannah@coffee-and-dreams.uk>
10 lines
869 B
Elixir
10 lines
869 B
Elixir
<%= if @error do %>
|
|
<h2><%= Gettext.dpgettext("static_pages", "status interact error", "Error: %{error}", error: @error) %></h2>
|
|
<% else %>
|
|
<h2><%= raw Gettext.dpgettext("static_pages", "status interact header", "Interacting with %{nickname}'s %{status_link}", nickname: safe_to_string(html_escape(@nickname)), status_link: safe_to_string(link(Gettext.dpgettext("static_pages", "status interact header - status link text", "status"), to: @status_link))) %></h2>
|
|
<%= form_for @conn, ~p"/main/ostatus", [as: "status"], fn f -> %>
|
|
<%= hidden_input f, :status_id, value: @status_id %>
|
|
<%= text_input f, :profile, placeholder: Gettext.dpgettext("static_pages", "placeholder text for account id", "Your account ID, e.g. lain@quitter.se") %>
|
|
<%= submit Gettext.dpgettext("static_pages", "status interact authorization button", "Interact") %>
|
|
<% end %>
|
|
<% end %>
|