forked from PrestaShop/hummingbird
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate.tpl
More file actions
79 lines (76 loc) · 2.14 KB
/
create.tpl
File metadata and controls
79 lines (76 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div
class="wishlist-create"
data-url="{$url}"
data-title="{l s='Create wishlist' d='Modules.Blockwishlist.Shop'}"
data-label="{l s='Wishlist name' d='Modules.Blockwishlist.Shop'}"
data-placeholder="{l s='Add name' d='Modules.Blockwishlist.Shop'}"
data-cancel-text="{l s='Cancel' d='Modules.Blockwishlist.Shop'}"
data-create-text="{l s='Create wishlist' d='Modules.Blockwishlist.Shop'}"
data-length-text="{l s='List title is too short' d='Modules.Blockwishlist.Shop'}"
>
<div
class="wishlist-modal modal fade"
{literal}
:class="{show: !isHidden}"
{/literal}
tabindex="-1"
role="dialog"
aria-modal="true"
>
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header px-3">
<p class="h5 modal-title">((title))</p>
<button
type="button"
class="btn-close"
@click="toggleModal"
data-dismiss="modal"
aria-label="Close"
>
</button>
</div>
<div class="modal-body">
<div class="form-group form-group-lg">
<label class="form-label" for="input2">((label))</label>
<input
type="text"
class="form-control form-control-lg"
v-model="value"
id="input2"
:placeholder="placeholder"
>
</div>
</div>
<div class="modal-footer">
<button
type="button"
class="modal-cancel btn btn-secondary"
data-dismiss="modal"
@click="toggleModal"
>
((cancelText))
</button>
<button
type="button"
class="btn btn-primary"
@click="createWishlist"
>
((createText))
</button>
</div>
</div>
</div>
</div>
<div
class="modal-backdrop fade"
{literal}
:class="{in: !isHidden}"
{/literal}
>
</div>
</div>