Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ sc_datetimepicker:
$ php app/console assets:install web/
```

### Step 4: Add assets to your templates

Add `{{ form_stylesheet(form) }}` & `{{ form_javascript(form) }}` to your header or css/js blocks.

The principle is to separate the javascript, stylesheet and html.
This allows better integration of web pages.

## Usages

``` php
Expand Down Expand Up @@ -92,10 +99,6 @@ public function buildForm(FormBuilder $builder, array $options)
}
```

Add form_javascript and form_stylesheet

The principle is to separate the javascript, stylesheet and html.
This allows better integration of web pages.

### Example:

Expand Down