Fix form item name in status_interact.html

This commit is contained in:
Tusooa Zhu 2021-12-28 16:12:00 -05:00
parent 2701628786
commit a243a217a7
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -6,7 +6,7 @@
<%= @status_id %> <%= @status_id %>
</div> </div>
<%= form_for @conn, Routes.util_path(@conn, :remote_subscribe), [as: "status"], fn f -> %> <%= form_for @conn, Routes.util_path(@conn, :remote_subscribe), [as: "status"], fn f -> %>
<%= hidden_input f, :status, value: @status_id %> <%= hidden_input f, :status_id, value: @status_id %>
<%= text_input f, :profile, placeholder: "Your account ID, e.g. lain@quitter.se" %> <%= text_input f, :profile, placeholder: "Your account ID, e.g. lain@quitter.se" %>
<%= submit "Interact" %> <%= submit "Interact" %>
<% end %> <% end %>