<div class="modal text-sm"
     id="consumeRepositoryStockValueModal"
     tabindex="-1"
     role="dialog"
     aria-labelledby="consumeRepositoryStockValueLabel">
  <div class="modal-dialog modal-sm" role="document">
    <div class="modal-content">
    </div>
  </div>
</div>

<div class="modal text-sm"
     id="consumeRepositoryStockValueModalWarning"
     tabindex="-1"
     role="dialog">
  <div class="modal-dialog modal-sm" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close self-start" data-dismiss="modal" aria-label="<%= t('general.close') %>">
          <i class="sn-icon sn-icon-close"></i>
        </button>
        <h4 class="modal-title">
          <%= t('my_modules.repository.stock_warning_modal.title') %>
        </h4>
      </div>
      <div class="modal-body">
        <p></p>
      <div class="modal-footer">
        <button type="button"
                id="cancel"
                class="btn btn-secondary cancel-consumption"><%=t('general.cancel') %></button>
        <%= submit_tag t('my_modules.repository.stock_warning_modal.consume_anyway'), class: "btn btn-primary confirm-consumption-button"%>
      </div>
    </div>
  </div>
</div>


<%= javascript_include_tag 'my_modules/stock' %>
