Sha256: 8baf85dbf245ec712bc7a09e800a5893909fa121f81da7e17f35321eff7f0f40
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
<%= div_for (conversation) do %> <h2><%= conversation.subject %></h2> <hr> Actions: <%= link_to ( image_tag('btn/btn_delete.png', :atl => "Delete", :title => "Delete"), mailbox_conversation_path(conversation, :location => 'conversation'), :confirm => 'Do you want to move "' + conversation.subject + '" to trash?', :method => :delete, :remote => true) %> <hr> <% conversation.get_recipients.each do |recp| %> <%= link_to image_tag(recp.logo.url(:tie), :title=>recp.name, :alt => recp.name), recp.subject %> <% end %><br> <% @mails.each do |mail| %> <hr><br> <% message= mail.mailboxer_message %> <%= link_to image_tag(message.sender.logo.url(:tie),:alt => message.sender.name,:title =>message.sender.name), message.sender.subject %><br> <b><%= message.sender.name %></b> on <%= message.created_at %> said:<br> <b><i><%= message.body %></i></b><br><br> Debug:<br> Message.Id: <%= message.id %><br> Mail.Id: <%= mail.id %><br> Mail.Type: <%= mail.mailbox_type %><br> Message.Sender: <%= message.sender.class.to_s %>/<%= message.sender.id.to_s %><br><br> <% end %> <hr><br> Write your answer:<br> <% form_tag mailbox_conversation_path(conversation.id), :method => :put do %> <div class="block"> <div class="form_row"> <%= label_tag :body %> </div> <div class="form_row"> <%= text_area_tag :body, nil,:rows =>6, :cols=> 53, :class => "required form_tag" %> </div> <div class="actions center"> <%= submit_tag "Reply", :name => :reply_all,:class => "button" %> </div> </div> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.4.0 | app/views/mailbox/conversation/_conversation.html.erb |