clacks/lib/clacks_web/templates/frontend/status.html.eex

11 lines
478 B
Elixir
Raw Normal View History

2020-04-25 16:30:47 +00:00
<%= render "_status.html", conn: @conn, author: @author, status: @status, note: @status.data["object"] %>
2020-04-23 02:54:46 +00:00
<hr>
2020-04-25 16:30:47 +00:00
<%= form_tag Routes.frontend_path(@conn, :post_status), method: :post, class: "compose-status" do %>
<input type="hidden" name="in_reply_to" value="<%= @status.data["object"]["id"] %>">
2020-05-23 03:45:48 +00:00
<textarea id="content" name="content" rows="5" placeholder="Reply" required><%= mentions_for_replying_to(@conn, @status) %></textarea>
2020-04-23 02:54:46 +00:00
<%= submit "Post" %>
2020-04-25 16:30:47 +00:00
<hr>
2020-04-23 02:54:46 +00:00
<% end %>