<?php
/*
 * Copyright (c) 2013, webvariants GbR, http://www.webvariants.de
 *
 * This file is released under the terms of the MIT license. You can find the
 * complete text in the attached LICENSE file or online at:
 *
 * http://www.opensource.org/licenses/mit-license.php
 */

print '<div class="form-multiple-container" data-name="'.sly_html($this->getName()).'">';

$rendered = $this->getDisplayValue(true);

foreach ($rendered as $row) {
	print '<div class="form-multiple-row">';

	foreach ($row as $element) {
		print $element;
	}

	print '</div>';
}

print '</div>';
