mirror of
https://github.com/bodyrep/bodyrep-sandpit.git
synced 2026-01-26 14:51:44 +00:00
Initial symfony commit
This commit is contained in:
25
sandbox/src/BodyRep/Form/Profile.php
Normal file
25
sandbox/src/BodyRep/Form/Profile.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user