Updating emailer
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user