<commit_before><style>
  textarea{
    resize: vertical;
    margin: 2%;
  }
</style>
<h1>Редактирование : "<?=$goods->getName()?>"</h1>



<!-- Page Content -->
    <div class="container">
      <form method="POST" enctype="multipart/form-data" role="form"><br>

        <div class="row">

            <div class="col-md-3">
                <p class="lead">Другие Животные</p>
                <div class="list-group">
                  <?php foreach($goodsList as $item):?>
                    <a href="/admin/goods/edit/<?= $item->getId() ?>" class="list-group-item"><?= $item->getName()?></a>
                  <?php endforeach;?>
                </div>
            </div>

            <div class="col-md-9">

                <div class="thumbnail">
                    <!-- <img class="img-responsive" src="http://placehold.it/800x300" alt=""><img class="img-responsive" src="http://placehold.it/800x300" alt=""> -->
                    <img src="<?= $goods->getPhoto()?>" class="img-responsive">
                        <h4><a>Фото: </a></h4><input type="text" class="form-control" name="photo" value="<?= $goods->getPhoto()?>">
                    <div class="caption-full">
                      <h4><a>Название: </a></h4><input class="form-control" type="text" name="name" value="<?= $goods->getName()?>">
                        <h4 class=""><a>Цена:</a></h4><input class="form-control" type="number" name="cost" value="<?= $goods->getCost()?>">

                        <h4 class=""><a>Количество:</a></h4><input class="form-control" type="number" name="count" value="<?= $goods->getCount()?>">





                        <p>See more snippets like these online store reviews at <a target="_blank" href="http://bootsnipp.com">Bootsnipp - http://bootsnipp.com</a>.</p>
                        <p>Want to make these reviews work? Check out
                            <strong><a href="http://maxoffsky.com/code-blog/laravel-shop-tutorial-1-building-a-review-system/">this building a review system tutorial</a>
                            </strong>over at maxoffsky.com!</p>
                            <p><h4>Короткое описание: </h4><textarea class="form-control" name="short_description" style="width:90%" rows="6"><?= $goods->getShortDescription()?></textarea></p>
                        <p><h4>Описание: </h4><textarea class="form-control" name="description" style="width:90%" rows="10"><?= $goods->getDescription()?></textarea></p>

<h4>Категория: </h4>
                        <select class="form-control" name="category">
                          <?php foreach($categories as $c):?>
                            <option value="<?= $c->getId()?>"><?= $c->getName();?></option>
                          <?php endforeach;?>
                        </select><br><br>
                    </div>

                    <button type="submit" name="Edit" class="btn btn-success">Edit</button>

                </div>

            </div>

        </div>

        </form>
        <a href="/admin/goods"><button class="btn btn-primary">Back</button></a>


    </div><commit_msg>Anoter fix<commit_after><style>
  textarea{
    resize: vertical;
    margin: 2%;
  }
</style>
<h1>Редактирование : "<?=$goods->getName()?>"</h1>



<!-- Page Content -->
    <div class="container">
      <form method="POST" enctype="multipart/form-data" role="form"><br>

        <div class="row">

            <div class="col-md-3">
                <p class="lead">Другие Животные</p>
                <div class="list-group">
                  <?php foreach($goodsList as $item):?>
                    <a href="/admin/goods/edit/<?= $item->getId() ?>" class="list-group-item"><?= $item->getName()?></a>
                  <?php endforeach;?>
                </div>
            </div>

            <div class="col-md-9">

                <div class="thumbnail">
                    <!-- <img class="img-responsive" src="http://placehold.it/800x300" alt=""><img class="img-responsive" src="http://placehold.it/800x300" alt=""> -->
                    <img src="<?= $goods->getPhoto()?>" class="img-responsive">
                        <h4><a>Фото: </a></h4><input type="text" class="form-control" name="photo" value="<?= $goods->getPhoto()?>">
                    <div class="caption-full">
                      <h4><a>Название: </a></h4><input class="form-control" type="text" name="name" value="<?= $goods->getName()?>">
                        <h4 class=""><a>Цена:</a></h4><input class="form-control" type="number" name="cost" value="<?= $goods->getCost()?>">

                        <h4 class=""><a>Количество:</a></h4><input class="form-control" type="number" name="count" value="<?= $goods->getCount()?>">
                            <p><h4>Короткое описание: </h4><textarea class="form-control" name="short_description" style="width:90%" rows="6"><?= $goods->getShortDescription()?></textarea></p>
                        <p><h4>Описание: </h4><textarea class="form-control" name="description" style="width:90%" rows="10"><?= $goods->getDescription()?></textarea></p>

<h4>Категория: </h4>
                        <select class="form-control" name="category">
                          <?php foreach($categories as $c):?>
                            <option value="<?= $c->getId()?>"><?= $c->getName();?></option>
                          <?php endforeach;?>
                        </select><br><br>
                    </div>

                    <button type="submit" name="Edit" class="btn btn-success ">Edit</button>

                </div>

            </div>

        </div>

        </form>
        <a href="/admin/goods"><button class="btn btn-primary btn-lg">Back</button></a>


    </div>
{'fraction_non_alphanumeric': 0.2113863995782815, 'fraction_numerical': 0.013530135301353014, 'mean_word_length': 2.0180275715800637, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 221, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5550749', 'n_tokens_mistral': 1819, 'n_tokens_neox': 1730, 'n_words': 293}