Skip to content
Snippets Groups Projects
Commit 509d5fa5 authored by Olga Lytvynenko's avatar Olga Lytvynenko
Browse files

MAGETWO-55393: [Github #5636] Many storeviews break the page

parent e330a26d
No related merge requests found
...@@ -17,25 +17,27 @@ ...@@ -17,25 +17,27 @@
</div> </div>
<div class="fieldset-wrapper-content in collapse" id="manage-titles-content"> <div class="fieldset-wrapper-content in collapse" id="manage-titles-content">
<fieldset class="admin__fieldset fieldset"> <fieldset class="admin__fieldset fieldset">
<table class="admin__control-table" id="attribute-labels-table"> <div class="admin__control-table-wrapper">
<thead> <table class="admin__control-table" id="attribute-labels-table">
<tr> <thead>
<?php foreach ($block->getStores() as $_store): ?> <tr>
<th class="col-store-view"><?php /* @escapeNotVerified */ echo $_store->getName() ?></th> <?php foreach ($block->getStores() as $_store): ?>
<?php endforeach; ?> <th class="col-store-view"><?php /* @escapeNotVerified */ echo $_store->getName() ?></th>
</tr> <?php endforeach; ?>
</thead> </tr>
<tbody> </thead>
<tr> <tbody>
<?php $_labels = $block->getLabelValues() ?> <tr>
<?php foreach ($block->getStores() as $_store): ?> <?php $_labels = $block->getLabelValues() ?>
<td class="col-store-view"> <?php foreach ($block->getStores() as $_store): ?>
<input class="input-text<?php if ($_store->getId() == \Magento\Store\Model\Store::DEFAULT_STORE_ID): ?> required-option<?php endif; ?>" type="text" name="frontend_label[<?php /* @escapeNotVerified */ echo $_store->getId() ?>]" value="<?php echo $block->escapeHtml($_labels[$_store->getId()]) ?>"<?php if ($block->getReadOnly()):?> disabled="disabled"<?php endif;?>/> <td class="col-store-view">
</td> <input class="input-text<?php if ($_store->getId() == \Magento\Store\Model\Store::DEFAULT_STORE_ID): ?> required-option<?php endif; ?>" type="text" name="frontend_label[<?php /* @escapeNotVerified */ echo $_store->getId() ?>]" value="<?php echo $block->escapeHtml($_labels[$_store->getId()]) ?>"<?php if ($block->getReadOnly()):?> disabled="disabled"<?php endif;?>/>
<?php endforeach; ?> </td>
</tr> <?php endforeach; ?>
</tbody> </tr>
</table> </tbody>
</table>
</div>
</fieldset> </fieldset>
</div> </div>
</div> </div>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment