kirushik/critical_chain

View on GitHub
app/views/estimations/_estimation.html.erb

Summary

Maintainability
Test Coverage
<%= link_to estimation, class: 'list-group-item', id: dom_id(estimation) do %>
  <%= estimation.title %>
  <div class="removal-button pull-right">
    <%= button_to estimation, method: :delete, remote: true, class: 'close' do %>
      <span>&times;</span>
    <% end %>
  </div>
  <span class="text-muted pull-right">
    <span class="text-success"><strong><%= estimation.sum %></strong></span>
    +
    <span class="text-info"><strong><%= estimation.buffer %></strong></span>
    =
    <span class="text-warning"><strong><%= estimation.total %></strong></span>
  </span>
<% end %>