Project

General

Profile

Actions

Bug #70209

closed

Epic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form

EXT:form - Allow setting classes via layout for elements in compatibilityMode

Added by Björn Jacob about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2015-09-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

With the former version of EXT:form it was possible to set classes using layout. We should reintroduce this functionality in compatibilityMode.

Here's some setup (derived form #70068).


textline (
    <div class="form-group">
        <div class="col-sm-3 control-label">
            <label />
        </div>
        <div class="col-sm-9">
            <input class="form-control" />
            <error />
        </div>
    </div>
)
submit (
    <div class="form-group">
        <div class="col-sm-offset-3 col-sm-9">
            <input class="btn btn-primary" />
        </div>
    </div>
)

Right now you will neither see the classes "form-control" for the TEXTLINE element nor the classes "btn btn-primary" for the SUBMIT element.

Actions

Also available in: Atom PDF