Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Closes #49
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Sep 22, 2013
1 parent 55b826f commit 7db64b6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
9 changes: 0 additions & 9 deletions src/Application/Sonata/UserBundle/Form/Type/ProfileType.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ public function buildForm(FormBuilderInterface $builder, array $options) {
->add('facebookuid', null, array('required' => false))
->add('twitteruid', null, array('required' => false))
->add('gplusuid', null, array('required' => false))
/*
->add('biography', 'sonata_formatter_type', array(
'event_dispatcher' => $builder->getEventDispatcher(),
'format_field' => 'formatter',
'source_field' => 'rawBiography',
'target_field' => 'biography',
'required' => false
));
*/
->add('biography', 'textarea', array('required' => false));
}

Expand Down
9 changes: 0 additions & 9 deletions src/Euro/ContactBundle/Form/Type/ContactType.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,7 @@ public function buildForm(FormBuilderInterface $builder, array $options) {
'other' => 'contact.subject.other',
)
))
/*
->add('message', 'sonata_formatter_type', array(
'event_dispatcher' => $builder->getEventDispatcher(),
'format_field' => 'formatter',
'source_field' => 'rawMessage',
'target_field' => 'message'
));
/*/
->add('message', 'textarea');
//*/
}

public function getName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
{% endif %}

{{ form_row(form.title, { label: 'pm.form.title' }) }}

{{ form_row(form.content, { attr: { class: (user_id is defined) ? 'span6' : 'span3' }, label: 'pm.form.message' }) }}

{{ form_rest(form) }}
Expand Down

0 comments on commit 7db64b6

Please sign in to comment.