<div class="form form-code-login">

    {{ form_open({ name: 'formLogin', request: __SELF__ ~ '::onCodesignin' }) }}

        <div class="form-group">
            <input type="{{ visible ? 'text' : 'password' }}"
                   name="code"
                   class="form-control form-control-password"
                   placeholder="insert code"/>
        </div>

        <div class="submit">
            <button class="btn" type="submit">{{ button }}</button>
        </div>

    {{ form_close() }}

</div>

<div class="form form-code-login">

    {{ form_ajax(__SELF__ ~ '::onCodesignin', {name: __SELF__}) }}

        <div class="form-group">
            <input type="{{ visible ? 'text' : 'password' }}"
                   name="code"
                   class="form-control form-control-password"
                   placeholder="insert code"/>
        </div>

        <div class="submit">
            <button class="btn" type="submit">{{ button }}</button>
        </div>

    {{ form_close() }}

</div>

Fix ajax form template opening tag
Fix ajax form template opening tag
