<div class="row">
	<div class="col-md-12">
		<?php 
		$value_s = '';
		if(isset($value)){
			$value_s = $value;
		}

		$title_s = '';
		if(isset($title)){
			$title_s = $title;
		}

		$id_s = '';
		if(isset($id)){
			$id_s = $id;
		}
		$required_s = '';
		if(isset($required)){
			$required_s = $required;
		}

		?>
		<div class="form-group" app-field-wrapper="customfield[<?php echo htmldecode($id_s) ?>]">
			<label for="customfield[<?php echo htmldecode($id_s) ?>]" class="control-label">
				<?php 		
				if($required_s == 1){ ?>
					<small class="req text-danger">* </small>
				<?php }
				echo htmldecode($title_s);
				?>
			</label>
			<input type="number" name="customfield[<?php echo htmldecode($id_s) ?>]" id="customfield[<?php echo htmldecode($id_s) ?>]" class="form-control" <?php echo (($required_s == 1) ? 'required' : '') ?> value="<?php echo htmldecode($value) ?>"/>
		</div>
	</div>
</div>