示例#1
0
文件: add.php 项目: ZerGabriel/cms-1
					
					<?php 
echo Form::input('name', Arr::get($post_data, 'name'), array('class' => 'form-control slug', 'id' => 'name'));
?>
				</div>
				
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-md-3" for="select-field-type"><?php 
echo __('Field type');
?>
</label>
			<div class="col-md-3">
				<?php 
echo Form::select('type', DataSource_Hybrid_Field::types(), Arr::get($post_data, 'type'), array('id' => 'select-field-type'));
?>
			</div>
		</div>
	</div>
		
	<div class="panel-heading">
		<span class="panel-title"><?php 
echo __('Field settings');
?>
</span>
	</div>
	<div class="panel-body">
		<div id="field-options">
		<?php 
foreach (DataSource_Hybrid_Field::get_empty_fields() as $type => $field) {