Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
20 | { |
||
21 | $builder->add( |
||
22 | 'profile', |
||
23 | new ProfileType(), |
||
24 | array( |
||
25 | 'label' => false, |
||
26 | ) |
||
27 | ); |
||
28 | |||
29 | $builder->add('username', 'text', array( |
||
30 | 'label' => 'Username', |
||
31 | )); |
||
32 | $builder->add('email', 'email'); |
||
33 | |||
34 | $builder->add('submitButton', 'submit', array( |
||
35 | 'label' => 'Save', |
||
36 | 'attr' => array( |
||
37 | 'class' => 'btn-primary btn-lg btn-block', |
||
38 | ), |
||
39 | )); |
||
40 | } |
||
41 | |||
64 |