
<h2 class="contracts">Features</h2>

<table id="contract_features" class='contract_table'>
  <tr>
    <th>
      Name
    </th>
    <th>
      Description
    </th>
    <th></th>
    <th colspan='2' class="rightAlign">
      <%= link_to(image_tag('add.png'), new_admin_feature_path(:contract_id => @contract.id), :id => 'new_feature_link') %>
    </th>				
  </tr>
  <tbody id="contract_features_table_body">
    <tr class="notice" <%= "style='display:none';" unless @features.empty? -%>>
      <td colspan='5'>
        <span>This service has no features yet.</span>
      </td>
    </tr>
    <%= render :partial => 'feature', :collection => @features %>
  </tbody>
</table>
