Sha256: 5d5fd8e8de360261abae715a3accdcc24fb5ec7312d9ac751357720f095714bb

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

<%= link_to 'Clear', clear_messages_path, :method => :delete, :data => {:confirm => "Are you sure?"} %>
<table>
  <colgroup>
    <col width="250px"></col>
    <col width="300px"></col>
    <col></col>
    <col width="200px"></col>
  </colgroup>
  <tr>
    <th>From</th>
    <th>To</th>
    <th>Body</th>
  </tr>
  <% @messages.each do |message| %>
    <tr>
      <td>
        <%= message.from %>
      </td>
      <td>
        <%= message.to %>
      </td>
      <td>
        <%= link_to message.body, message_path(:id => message.id) %>
      </td>
    </tr>
  <% end %>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
virtual_sms-0.1.0 app/views/virtual_sms/messages/index.html.erb