text('title', _t('@svc', 'Title')) ->required(_t('@svc', 'Specify the name of the service')) ->textarea('description', _t('@svc', 'Short Description', ['br' => '
'])) ->wysiwyg('description_view', _t('@svc', 'Detailed Description', ['br' => '
'])) ; $form->text('price', _t('@svc', 'Cost'), 0, false) ->label(Currency::default()) ->required( _t('@svc', 'Specify the cost')) ; $form->setFolder(bff::path('svc', 'images')); $form ->union('settings') ->param('box', false) ->endUnion(); ; $form ->checkbox('enabled', _t('@svc', 'Enabled'), true) ;