Last active
November 13, 2017 16:13
-
-
Save domagude/9d2c5ab0feb93f80adf294f8de36645d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= form_tag({controller: "private/conversations", action: "create"}, | |
method: "post", | |
remote: true) do %> | |
<%= hidden_field_tag(:post_id, @post.id) %> | |
<%= text_area_tag(:message_body, | |
nil, | |
rows: 3, | |
class: 'form-control', | |
placeholder: 'Send a messsage to the user') %> | |
<%= submit_tag('Send a message', class: 'btn send-message-to-user') %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment