Updating emailer

This commit is contained in:
2013-10-06 05:51:41 -07:00
parent 15836b4f4e
commit 008ceaed9e
3 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
</head>
<body>
<p><b>From:</b> <%= link_to @from_user.name, @from_user %></p>
<p><b>From:</b> <%= link_to @from_user.name, user_url(@from_user) %></p>
<p>
<%= simple_format @body %>
</p>

View File

@@ -6,6 +6,7 @@
<%= link_to image_tag('/facebook.png', :class => 'social-icon', :title => "Facebook"), @user.facebook_url, :class => 'social-link' if @user.facebook_url.present? %>
<%= link_to image_tag('/github.png', :class => 'social-icon', :title => "Github"), @user.github_url, :class => 'social-link' if @user.github_url.present? %>
<%= link_to image_tag('/website.png', :class => 'social-icon', :title => "Website"), @user.website_url, :class => 'social-link' if @user.website_url.present? %>
<%= link_to "Email User", user_compose_email_path(@user), :class => 'btn' %>
</h2>