<div class="modal-dialog">
  <div class="modal-content">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span></button>
      <h4 class="modal-title">Historia statusów</h4>
    </div>
    <div class="modal-body">
      <table class="table table-bordered">
        <tbody>
          <% @order.order_histories.each do |oh| %>
          <tr>
            <td><%= raw(Order::ORDER_STATUSES_HTML[oh.status]) %></td>
            <td><%= oh.created_at %></td>
          </tr>
          <% end %>
        </tbody>
      </table>
    </div>
    <div class="modal-footer">
      <button type="button" class="btn btn-default pull-right" data-dismiss="modal">Zamknij</button>
    </div>
  </div>
  <!-- /.modal-content -->
</div>
