29ecf9ea89f7fb4252f5a6cb0f4df54acefb656c
[rails.git] / app / views / notifier / _message_body.html.erb
1 <table style="font-size: 15px; font-style: italic; margin: 15px; background-color: #eee; width: 520px">
2   <tr>
3     <td style="width: 50px; vertical-align: top; padding: 15px">
4       <%= link_to(
5           image_tag(
6             attachments["avatar.png"].url,
7             alt: @author,
8             title: @author
9           ),
10           user_url(@author, :host => SERVER_URL),
11           :target => "_blank"
12       ) %>
13     </td>
14     <td style="text-align: left; vertical-align: top; padding-right: 10px">
15       <%= body %>
16     </td>
17   </tr>
18 </table>