<div class="bk-bs-modal" tabindex="-1">
  <div class="bk-bs-modal-dialog">
    <div class="bk-bs-modal-content">
      <div class="bk-bs-modal-header">
        <% if @closable: %>
          <button type="button" class="bk-bs-close" data-bk-bs-dismiss="modal">&times;</button>
        <% end %>
        <h4 class="bk-bs-modal-title"><%= @title %></h4>
      </div>
      <div class="bk-bs-modal-body">
        <%= @content %>
      </div>
      <div class="bk-bs-modal-footer">
        <% for button, i in @buttons: %>
          <% if i == 0: %>
            <button type="button" class="bk-bs-btn bk-bs-btn-primary" data-bk-bs-dismiss="modal"><%= button %></button>
          <% else: %>
            <button type="button" class="bk-bs-btn bk-bs-btn-default"><%= button %></button>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
</div>
