Skip to content

Instantly share code, notes, and snippets.

@wethu
Created July 3, 2014 23:58
Show Gist options
  • Select an option

  • Save wethu/fd260b231ab3ad79695a to your computer and use it in GitHub Desktop.

Select an option

Save wethu/fd260b231ab3ad79695a to your computer and use it in GitHub Desktop.
<table class="table">
<th width="20%">Time/Date Created</th>
<th width="80%">Client/Product</th>
<% @jobs.each do |job| %>
<% present job do |job_presenter| %>
<% job_presenter.check_status %>
<tr>
<td><%= job_presenter.date_time_graphic %></td>
<!-- <td> -->
<%= content_tag :td, :class => job_presenter.job_status do %>
<div class="client">
<%= link_to job.client.business_name, client_path(job.client) %>
<%= job_presenter.job_controls %>
</div>
<div class="product">
<%= link_to job_presenter.product, job_path(job) %>
<%= job_presenter.job_updated? %>
</div>
<div class="missing-details">
<%= job_presenter.missing_details %>
</div>
<% end %>
<!-- </td> -->
</tr>
<% end %>
<% end %>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment