Hello,

There is a new job posted online for your attention.

<%= job_url(@job) %>

Approve it so that it goes online

<%= approve_job_url(@job) %>

<p>
  Hello admin,
</p>

<p>
  A new job has been posted on the job board.
</p>

<h4>Job details</h4>

<p>
  <%= @job.title %> at <%= @job.company_name %>
</p>

<ul>
  <li>
    Employment type: <%= @job.employment_type.try(:humanize) %>
  </li>

  <li>
    Experience: <%= @job.experience.try(:humanize) %>
  </li>

  <li>
    Salary: <%= @job.salary_to_s %>
  </li>

  <li>
    Remote: <%= @job.remote? ? 'Yes' : 'No' %>
  </li>
</ul>

<p>
  <%= link_to 'Full details are found here', job_url(@job), class: "contact-link" %>
</p>

<p>
  Please review and approve it if it fits the requirements:
</p>

<p>
  <%= link_to "Approve", approve_job_url(@job), class: "contact-link" %>
</p>

Modify content of email to admin when a job is posted online
Modify content of email to admin when a job is posted online
