anchor.diff:        <div style="height: 12px;"></div>
         <div class="field">
           <div><%= label_tag :unpaid_leave %></div>
  -        <span><%= text_field_tag :unpaid_leave, unpaid_leave_taken + (unpaid ? request_duration : 0), { :style => 'width: 158px;', :disabled => true} %></span>
  +        <span><%= text_field_tag :unpaid_leave, number_with_precision(unpaid_leave_taken + (unpaid ? request_duration : 0), :precision => 2), { :style => 'width: 158px;', :disabled => true} %></span>
           <span class="field_info">days</span>
         </div>
       <% end %>
  
positive.code: 
    <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>
    
    <% if leave_take_on > 0 %>
      <div class="field">
        <div><em>less</em> <%= label_tag :take_on_balance %></div>
        <span><%= text_field_tag :take_on_balance, leave_take_on, { :style => 'width: 158px;', :disabled => true} %></span>
        <span class="field_info">days</span>
      </div>
    <% end %>
  
    <div class="field">
      <div><em>less</em> <%= label_tag :leave_taken %></div>
      <span><%= text_field_tag :leave_taken, leave_taken, { :style => 'width: 158px;', :disabled => true} %></span>
      <span class="field_info">days</span>
    </div>
    
    <div class="field">
      <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>
  
  
negative.code:   
      <div class="field">
        <div><%= unpaid ? 'Unpaid' : raw('<em>less</em>') %> <%= label_tag :leave_requested %></div>
        <span><%= text_field_tag :leave_requested, number_with_precision(request_duration, :precision => 2), { :style => 'width: 158px;', :disabled => true} %></span>
        <span class="field_info">days</span>
      </div>
  
      <div class="field">
        <div class="total_row"><strong><%= label_tag :balance %></strong></div>
        <span><%= text_field_tag :balance, number_with_precision(leave_available - (unpaid ? 0 : request_duration), :precision => 2), { :style => 'width: 158px;', :disabled => true} %></span>
        <span class="field_info">days</span>
      </div>
  
  