<div class="pp_mat_input">
	<?php if ($pt->filed->type == 'select'): ?>
		<?php $options = @explode(',', $pt->filed->options);?>
		<select name="{{FID}}" id="" class="form-control">
			<?php foreach ($options as $key => $value): ?>
				<option value="<?php echo $key + 1;?>"><?php echo $value;?></option>
			<?php endforeach; ?>
		</select>
	<?php elseif($pt->filed->type == 'textbox'): ?>
		<input name="{{FID}}" id="{{NAME}}" type="text" placeholder="{{NAME}}" class="form-control">
		<label for="{{NAME}}">{{NAME}}</label>
	<?php elseif($pt->filed->type == 'textarea'): ?>
		<textarea style="resize: vertical;" name="{{FID}}" cols="20" rows="3" placeholder="{{NAME}}" class="form-control"></textarea>
	<?php endif; ?>
</div>