<?php
if (isset($level_data) && is_array($level_data)){
	print "
<span class='headline'>".LABEL_META_TITLE."</span>";
	foreach ($level_data AS $key => $value){
		print "
<div class='form-row'>
	<label for='level_meta_title_".$key."' class='form-label'>".$value['title']."</label>
	<div class='form-cols'>
		<div class='form-col form-full'>
			<div class='form-controls'>
				<input type='text' class='field' id='level_meta_title_".$key."' name='level_data[".$key."][value_meta_title]' value='".$value['value_meta_title']."'>
			</div><!-- /.form-controls -->
		</div><!-- /.form-col -->
	</div><!-- /.form-cols -->
</div><!-- /.form-row -->";
	}
	print "<hr />";
}