Skip to content

Instantly share code, notes, and snippets.

@domagude
Last active November 25, 2017 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domagude/2619d09262c4f9ecd2a96c6e7c70e667 to your computer and use it in GitHub Desktop.
Save domagude/2619d09262c4f9ecd2a96c6e7c70e667 to your computer and use it in GitHub Desktop.
<% @recipient = private_conv_recipient(conversation) %>
<% @is_messenger = false %>
<li class="conversation-window"
id="pc<%= conversation.id %>"
data-pconversation-user-name="<%= @recipient.name %>"
data-turbolinks-permanent>
<div class="panel panel-default" data-pconversation-id="<%= conversation.id %>">
<%= render 'private/conversations/conversation/heading',
conversation: conversation %>
<!-- Conversation window's content -->
<div class="panel-body">
<%= render 'private/conversations/conversation/messages_list',
conversation: conversation %>
<%= render 'private/conversations/conversation/new_message_form',
conversation: conversation,
user: user %>
</div><!-- panel-body -->
</div>
</li><!-- conversation-window -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment