Last active
December 19, 2015 13:28
-
-
Save trosage/5961857 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if @job.contact_email.present? %> | |
<%= mail_to @job.contact_email, :class => "button button-primary button-full apply", :subject => "#{@job.title} [via Treehouse Job Board]" do %> | |
Apply via email <span class="icon icon-right-white"></span> | |
<% end %> | |
<% else %> | |
<%= link_to @job.contact_url, :class => "button button-primary button-full apply" do %> | |
Apply via web <span class="icon icon-right-white"></span> | |
<% end %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment