mirror of
https://github.com/bodyrep/bodyrep-sandpit.git
synced 2026-01-26 23:01:42 +00:00
26 lines
482 B
PHP
26 lines
482 B
PHP
<?php
|
|
|
|
namespace BodyRep\Form;
|
|
|
|
|
|
use Symfony\Component\Form\AbstractType;
|
|
use Symfony\Component\Form\FormBuilderInterface;
|
|
|
|
class Profile extends AbstractType
|
|
{
|
|
public function buildForm(FormBuilderInterface $builder, array $options)
|
|
{
|
|
$builder->add('fullname', 'text');
|
|
|
|
|
|
//$builder->add('newpass1', 'text');
|
|
//$builder->add('newpass2', 'text');
|
|
|
|
}
|
|
|
|
public function getName()
|
|
{
|
|
return 'profile';
|
|
}
|
|
}
|