app/views/georgia/messages/show.html.erb in georgia_mailer-0.1.2 vs app/views/georgia/messages/show.html.erb in georgia_mailer-0.1.3
- old
+ new
@@ -23,13 +23,11 @@
</button>
<ul class="dropdown-menu" role="menu">
<%= message_actions_list(@message) %>
</ul>
</div>
- <strong>
- <%= @message.name_or_anonymous %>
- </strong>
+ <strong><%= @message.name_or_anonymous %></strong>
<span><<%= @message.email %>></span>
<span>on <%= @message.created_at.strftime('%F %H:%M') %></span>
<span>sent from <%= link_to @message.referrer, @message.referrer %></span>
</div>
<div class="message-content">
@@ -40,12 +38,12 @@
<b>Phone</b>: <%= @message.phone_or_none %>
</p>
<p>
<b>Attachment</b>:
<% if @message.attachment.try(:file) and @message.attachment.file.exists? %>
- <%= link_to @message.attachment.file.filename, @message.attachment.url %>
+ <%= link_to @message.attachment.file.filename, @message.attachment.url %>
<% else -%>
- <span class='muted'>There were no attachment.</span>
+ <span class='muted'>There were no attachments.</span>
<% end -%>
</p>
</div>
</section>
\ No newline at end of file