move to 2.5.5
[anni] / lib / pleroma / web / templates / twitter_api / util / status_interact.html.eex
1 <%= if @error do %>
2   <h2><%= Gettext.dpgettext("static_pages", "status interact error", "Error: %{error}", error: @error) %></h2>
3 <% else %>
4   <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>
5   <%= form_for @conn, Routes.util_path(@conn, :remote_subscribe), [as: "status"], fn f -> %>
6   <%= hidden_input f, :status_id, value: @status_id %>
7   <%= text_input f, :profile, placeholder: Gettext.dpgettext("static_pages", "placeholder text for account id", "Your account ID, e.g. lain@quitter.se") %>
8   <%= submit Gettext.dpgettext("static_pages", "status interact authorization button", "Interact") %>
9   <% end %>
10 <% end %>