Sha256: bb15a308be6d860ce8da7a98fe2b970fb88a3e26fc6a08ece46ff70f8ded8f0f

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

<h1><%= @user.name %>'s Conversations</h1>

<ul>
  <% for conversation in @conversations do %>
    <li class="<%= conversation.read? ? 'read' : 'unread' %>">
      <%= conversation.participants %>
      -
      <%= link_to conversation.subject, user_conversation_path(conversation.user, conversation) %>
      -
      <%=l conversation.created_at, :format => :short %>
    </li>
  <% end %>
</ul>

<%= link_to "Create a New Conversation", new_user_conversation_path(@user) %>
<br>
<%= link_to "Back to User", user_path(@user) %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conversations-0.0.1 app/views/conversations/user_conversations/index.html.erb