Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<form class="send-private-message">
<input name="conversation_id" type="hidden" value="<%= conversation.id %>">
<input name="user_id" type="hidden" value="<%= user.id %>">
<textarea name="body" rows="3" class="form-control" placeholder="Type a message..."></textarea>
<input type="submit" class="btn btn-success send-message">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment