<div class="row">
  <div class="page-wrapper chiller-theme toggled">
    <nav id="sidebar" class="sidebar-wrapper">
      <menu-admin name={{name}} dock={{dock}}></menu-admin>
      <link-exit></link-exit>
    </nav>

    <main class="page-content">
      <div class="container justify-content-md-center">

        <h2>Inserir Estoque</h2>

        <p ng-show="mensagem.length" class="alert alert-info">{{mensagem}}</p>

        <div class="row form-login" ng-init="inicio()">

          <div class="col-md-3">
            <h5>Ean</h5>
            <input class="form-control" type="text" placeholder="{{item.ean}}" readonly>
          </div>

          <div class="col-md-3">
            <h5>Grupo</h5>
            <input class="form-control" type="text" placeholder="{{item.codGroup}}" readonly>
          </div>

          <div class="col-md-3">
            <h5>Código Bhan</h5>
            <input class="form-control" type="text" placeholder="{{item.skuBhan}}" readonly>
          </div>

        </div>

        <div class="row form-login align-items-center">
          <div class="col-md-5">
            <h5>{{item.nameProduct}} - {{item.sizeProduct}}</h5>
          </div>
          <div class="col-md-6">
            <img ng-src="http://arsdesign.vteximg.com.br/arquivos/ids/{{ item.imgProduct }}-200-200" alt="{{ item.nameProduct }}">
          </div>
        </div>

        <div class="row">
          <div class="col-md-9">
            <hr>
          </div>
        </div>

        <div class="row form-login">
          <div class="col-md-10">
            <form class="form-inline" name="formItem" ng-submit="submeter()" novalidate >
              <div class="form-group mb-2">
                <input type="text" readonly class="form-control-plaintext" value="Nova quantidade">
              </div>
              <div class="form-group mx-sm-3 mb-2">
                <input type="text" class="form-control" name="stock" ng-model="item.stock" required ng-maxlength="3">
              </div>
              <button type="submit" class="btn btn-success mb-2 mr-5" ng-disabled="formItem.$invalid">Cadastrar Quantidade</button>
              <a href="#/items" role="button" class="btn btn-primary mb-2">Voltar</a>
            </form>
          </div>
        </div>

      </div>
    </main>

  </div>

</div>
