Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Problems using fuelphps twig extension to build forms
  • Hi,

    i've a problem to use fuelphp twig extension to build a form:

    This is what i currently use (example):
    <?php echo Form::input('username', Input::post('username'), array('class' => 'inputFields', 'placeholder' => 'username', 'autocomplete' => 'off')); ?>

    but how to write it down in my twig template: {{ form_input('username', ...) }} ?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!