Example #1
0
<div class="am-form am-form-horizontal">
    <div class="am-form-group" style="height:40px">
        <label class="am-u-md-2 am-u-md-offset-3 am-form-label am-text-center" >页面标题:</label>
        <div class="am-u-md-3 am-u-end">
            <input type="text" value="<?php 
echo $dataArray['title'];
?>
"  id="page_edit_title"/>
        </div>
    </div>
    <div class="am-form-group" style="height:40px">
        <label class="am-u-md-2 am-u-md-offset-3 am-form-label am-text-center" >页面类别:</label>
        <div class="am-u-md-3 am-u-end">
            <select name="test" id="page_edit_catID">
			<?php 
foreach ($page->getPageCatInfo() as $item) {
    ?>
                <option value="<?php 
    echo $item['code'];
    ?>
" ><?php 
    echo $item['name'];
    ?>
</option>
            <?php 
}
?>
            </select>
        </div>
    </div>
	<div class="am-form-group" style="height:40px">