anchor.diff:      <span class="field_info">days</span>
     </div>
     
  -  <% if unpaid_leave_taken > 0 %>
  -    <div class="field">
  -      <div><em>less</em> <%= label_tag :unpaid_leave_taken %></div>
  -      <span><%= text_field_tag :unpaid_leave_taken, unpaid_leave_taken, { :style => 'width: 158px;', :disabled => true} %></span>
  -      <span class="field_info">days</span>
  -    </div>
  -  <% end %>
  -
     <div class="field">
  -    <div class="total_row"><%= label_tag :leave_balance %></div>
  -    <span><%= text_field_tag :leave_balance, leave_balance, { :style => 'width: 158px;', :disabled => true} %></span>
  +    <div class="total_row"><strong><%= label_tag :leave_available, 'Available leave' %></strong></div>
  +    <span><%= text_field_tag :leave_available, leave_available, { :style => 'width: 158px;', :disabled => true} %></span>
       <span class="field_info">days</span>
     </div>
   
  
positive.code: 
    %>
    
      <p></p>
  
      <div class="field">
        <div><em>less</em> <%= label_tag :leave_requested %></div>
        <span><%= text_field_tag :leave_requested, request_duration, { :style => 'width: 158px;', :disabled => true} %></span>
        <span class="field_info">days</span>
      </div>
  
      <div class="field">
        <div class="total_row"><%= label_tag :new_balance %></div>
        <span><%= text_field_tag :new_balance, leave_balance - (unpaid ? 0 : request_duration), { :style => 'width: 158px;', :disabled => true} %></span>
        <span class="field_info">days</span>
      </div>
  
    <% end %>
  
    <p class="detailed_leave_balance_link"><%= link_to 'Detailed Balance', balance_path(:employee => employee.to_param), :target => '_blank' %></p>
  
  <% end %>
  
negative.code:   leave_take_on = leave_type.leave_take_on_for(employee, date_from)
    leave_taken = leave_type.leave_taken_for(employee, date_from)
    unpaid_leave_taken = leave_type.leave_taken_for(employee, date_from, true)
    leave_available = leave_allowance - leave_take_on - leave_taken
    
  %>
  
    <p>As at <strong><%= date_from.strftime("%e %b %Y") %></strong></p>
  
    <div class="field">
      <div><%= label_tag :leave_allowance, 'Allowance' %></div>
      <span><%= text_field_tag :leave_allowance, leave_allowance, { :style => 'width: 158px;', :disabled => true} %></span>
      <span class="field_info">days</span>
    </div>
  