本文整理汇总了PHP中Helpers::form_prep方法的典型用法代码示例。如果您正苦于以下问题:PHP Helpers::form_prep方法的具体用法?PHP Helpers::form_prep怎么用?PHP Helpers::form_prep使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Helpers
的用法示例。
在下文中一共展示了Helpers::form_prep方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</div>
</div>
<div class="form-group">
<label for="name_long" class="col-lg-2 control-label">Полное наименование*</label>
<div class="col-lg-10">
<input type="text" name="name_long" value="<?php
echo Helpers::form_prep($item->name_long);
?>
" class="form-control" id="name_long">
</div>
</div>
<div class="form-group">
<label for="name_rp" class="col-lg-2 control-label">Наименование в родительном падеже</label>
<div class="col-lg-10">
<input type="text" name="name_rp" value="<?php
echo Helpers::form_prep($item->name_rp);
?>
" class="form-control" id="name_rp">
</div>
</div>
<div class="form-group">
<label for="comment" class="col-lg-2 control-label">Комментарий</label>
<div class="col-lg-10">
<textarea name="comment" class="form-control" rows="15"><?php
echo $item->comment;
?>
</textarea>
</div>
</div>
示例2:
</div>
<?endif;?>
<div class="form-group">
<label for="name" class="col-lg-2 control-label">Заголовок*</label>
<div class="col-lg-10">
<input type="text" name="name" value="<?php
echo Helpers::form_prep(Input::old("name"));
?>
" class="form-control" id="name">
</div>
</div>
<div class="form-group">
<label for="name_vin_p" class="col-lg-2 control-label">Заголовок в винительном падеже</label>
<div class="col-lg-10">
<input type="text" name="name_vin_p" value="<?php
echo Helpers::form_prep(Input::old("name_vin_p"));
?>
" class="form-control" id="name_vin_p">
</div>
</div>
<div class="form-group">
<label for="comment" class="col-lg-2 control-label">Комментарий</label>
<div class="col-lg-10">
<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php
echo Input::old("comment");
?>
</textarea>
</div>
</div>
示例3:
</div>
</div>
<div class="form-group">
<label for="contact_phone" class="col-lg-2 control-label">Телефон</label>
<div class="col-lg-4">
<input type="text" name="contact_phone" value="<?php
echo Helpers::form_prep($item->contact_phone);
?>
" class="form-control" id="contact_phone">
</div>
</div>
<div class="form-group">
<label for="contact_email" class="col-lg-2 control-label">E-mail</label>
<div class="col-lg-4">
<input type="text" name="contact_email" value="<?php
echo Helpers::form_prep($item->contact_email);
?>
" class="form-control" id="contact_email">
</div>
</div>
<div class="form-group">
<label for="comment" class="col-lg-2 control-label">Комментарий</label>
<div class="col-lg-10">
<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php
echo $item->comment;
?>
</textarea>
</div>
</div>
示例4:
</div>
<?endif;?>
<div class="form-group">
<label for="name" class="col-lg-2 control-label">Заголовок*</label>
<div class="col-lg-10">
<input type="text" name="name" value="<?php
echo Helpers::form_prep($item->name);
?>
" class="form-control" id="name">
</div>
</div>
<div class="form-group">
<label for="name_vin_p" class="col-lg-2 control-label">Заголовок в винительном падеже</label>
<div class="col-lg-10">
<input type="text" name="name_vin_p" value="<?php
echo Helpers::form_prep($item->name_vin_p);
?>
" class="form-control" id="name_vin_p">
</div>
</div>
<div class="form-group">
<label for="comment" class="col-lg-2 control-label">Комментарий</label>
<div class="col-lg-10">
<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php
echo $item->comment;
?>
</textarea>
</div>
</div>
示例5:
</div>
</div>
<div class="form-group">
<label for="contact_phone" class="col-lg-2 control-label">Телефон</label>
<div class="col-lg-4">
<input type="text" name="contact_phone" value="<?php
echo Helpers::form_prep(Input::old("contact_phone"));
?>
" class="form-control" id="contact_phone">
</div>
</div>
<div class="form-group">
<label for="contact_email" class="col-lg-2 control-label">E-mail</label>
<div class="col-lg-4">
<input type="text" name="contact_email" value="<?php
echo Helpers::form_prep(Input::old("contact_email"));
?>
" class="form-control" id="contact_email">
</div>
</div>
<div class="form-group">
<label for="comment" class="col-lg-2 control-label">Комментарий</label>
<div class="col-lg-10">
<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php
echo Input::old("comment");
?>
</textarea>
</div>
</div>
示例6:
</div>
</div>
<div class="form-group">
<label for="bank_correspondent_account" class="col-lg-2 control-label">К/с</label>
<div class="col-lg-4">
<input type="text" name="bank_correspondent_account" value="<?php
echo Helpers::form_prep(Input::old("bank_correspondent_account"));
?>
" class="form-control" id="bank_correspondent_account">
</div>
</div>
<div class="form-group">
<label for="bank_account" class="col-lg-2 control-label">Р/с</label>
<div class="col-lg-4">
<input type="text" name="bank_account" value="<?php
echo Helpers::form_prep(Input::old("bank_account"));
?>
" class="form-control" id="bank_account">
</div>
</div>
<div class="form-group" style="padding-top: 40px;">
<label for="comment" class="col-lg-2 control-label">Комментарий</label>
<div class="col-lg-10">
<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php
echo Input::old("comment");
?>
</textarea>
</div>
</div>
示例7:
</div>
<div class="form-group">
<label for="email" class="col-lg-2 control-label">E-mail</label>
<div class="col-lg-4">
<input type="text" name="email" value="<?php
echo Helpers::form_prep(Input::old("email"));
?>
" class="form-control" id="email">
</div>
</div>
<div class="form-group" style="margin-bottom:40px;">
<label for="password" class="col-lg-2 control-label">Пароль</label>
<div class="col-lg-4">
<div class="input-group">
<input type="text" name="password" value="<?php
echo Helpers::form_prep(Input::old("password"));
?>
" class="form-control" id="password">
<span class="input-group-btn">
<button class="btn btn-default" type="button" title="Сгенерировать пароль" id="generatePassword">+</button>
</span>
</div>
</div>
</div>
<div class="form-group">
<label for="comment" class="col-lg-2 control-label">Комментарий</label>
<div class="col-lg-10">
<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php
echo Input::old("comment");
?>