This repository was archived by the owner on Jul 27, 2023. It is now read-only.
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ The preferred way to install this extension is through [composer](http://getcomp
17
17
18
18
Either run
19
19
20
- ```
21
- composer require 2amigos/yii2-date-picker-widget:~1.0
20
+ ``` bash
21
+ $ composer require 2amigos/yii2-date-picker-widget:~ 1.0
22
22
```
23
23
or add
24
24
@@ -42,7 +42,7 @@ This widget renders a Bootstrap DatePicker input control. Best suitable for mode
42
42
*** Example of use with a form***
43
43
There are two ways of using it, with an ` ActiveForm ` instance or as a widget setting up its ` model ` and ` attribute ` .
44
44
45
- ```
45
+ ``` php
46
46
<?php
47
47
use dosamigos\datepicker\DatePicker;
48
48
@@ -76,7 +76,7 @@ use dosamigos\datepicker\DatePicker;
76
76
```
77
77
*** Example of use without a model***
78
78
79
- ```
79
+ ``` php
80
80
<?php
81
81
use dosamigos\datepicker\DatePicker;
82
82
?>
@@ -97,7 +97,7 @@ This widget renders a Bootstrap DateRangePicker Input control.
97
97
*** Example of use with a form***
98
98
The following example works with a model that has two attributes named ` date_from ` and ` date_to ` .
99
99
100
- ```
100
+ ``` php
101
101
<?php
102
102
use dosamigos\datepicker\DateRangePicker;
103
103
?>
@@ -114,7 +114,7 @@ use dosamigos\datepicker\DateRangePicker;
114
114
```
115
115
*** Example of use without a model***
116
116
117
- ```
117
+ ``` php
118
118
<?php
119
119
use dosamigos\datepicker\DateRangePicker;
120
120
?>
You can’t perform that action at this time.
0 commit comments