|
@@ -4,10 +4,16 @@ |
|
@@ -4,10 +4,16 @@ |
4
|
<label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
|
4
|
<label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
|
5
|
<div class="col-xs-12 col-sm-8">
|
5
|
<div class="col-xs-12 col-sm-8">
|
6
|
<div class="input-group">
|
6
|
<div class="input-group">
|
7
|
- <input id="c-image" data-rule="required" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
|
7
|
+ <input id="c-image" data-rule="required" class="form-control" size="50" name="row[image]" type="text"
|
|
|
8
|
+ value="{$row.image|htmlentities}">
|
8
|
<div class="input-group-addon no-border no-padding">
|
9
|
<div class="input-group-addon no-border no-padding">
|
9
|
- <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
10
|
- <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
10
|
+ <span><button type="button" id="faupload-image" class="btn btn-danger faupload"
|
|
|
11
|
+ data-input-id="c-image"
|
|
|
12
|
+ data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
|
13
|
+ data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
14
|
+ <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose"
|
|
|
15
|
+ data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i
|
|
|
16
|
+ class="fa fa-list"></i> {:__('Choose')}</button></span>
|
11
|
</div>
|
17
|
</div>
|
12
|
<span class="msg-box n-right" for="c-image"></span>
|
18
|
<span class="msg-box n-right" for="c-image"></span>
|
13
|
</div>
|
19
|
</div>
|
|
@@ -17,41 +23,53 @@ |
|
@@ -17,41 +23,53 @@ |
17
|
<div class="form-group">
|
23
|
<div class="form-group">
|
18
|
<label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
|
24
|
<label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
|
19
|
<div class="col-xs-12 col-sm-8">
|
25
|
<div class="col-xs-12 col-sm-8">
|
20
|
- <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
|
26
|
+ <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text"
|
|
|
27
|
+ value="{$row.title|htmlentities}">
|
21
|
</div>
|
28
|
</div>
|
22
|
</div>
|
29
|
</div>
|
23
|
<div class="form-group">
|
30
|
<div class="form-group">
|
24
|
<label class="control-label col-xs-12 col-sm-2">{:__('Speci')}:</label>
|
31
|
<label class="control-label col-xs-12 col-sm-2">{:__('Speci')}:</label>
|
25
|
<div class="col-xs-12 col-sm-8">
|
32
|
<div class="col-xs-12 col-sm-8">
|
26
|
- <input id="c-speci" data-rule="required" class="form-control" name="row[speci]" type="text" value="{$row.speci|htmlentities}">
|
33
|
+ <input id="c-speci" data-rule="required" class="form-control" name="row[speci]" type="text"
|
|
|
34
|
+ value="{$row.speci|htmlentities}">
|
27
|
</div>
|
35
|
</div>
|
28
|
</div>
|
36
|
</div>
|
29
|
<div class="form-group">
|
37
|
<div class="form-group">
|
30
|
<label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
|
38
|
<label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
|
31
|
<div class="col-xs-12 col-sm-8">
|
39
|
<div class="col-xs-12 col-sm-8">
|
32
|
- <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
|
40
|
+ <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number"
|
|
|
41
|
+ value="{$row.price|htmlentities}">
|
33
|
</div>
|
42
|
</div>
|
34
|
</div>
|
43
|
</div>
|
35
|
<div class="form-group">
|
44
|
<div class="form-group">
|
36
|
<label class="control-label col-xs-12 col-sm-2">{:__('Delete_price')}:</label>
|
45
|
<label class="control-label col-xs-12 col-sm-2">{:__('Delete_price')}:</label>
|
37
|
<div class="col-xs-12 col-sm-8">
|
46
|
<div class="col-xs-12 col-sm-8">
|
38
|
- <input id="c-delete_price" data-rule="" class="form-control" step="0.01" name="row[delete_price]" type="number" value="{$row.delete_price|htmlentities}">
|
47
|
+ <input id="c-delete_price" data-rule="" class="form-control" step="0.01" name="row[delete_price]"
|
|
|
48
|
+ type="number" value="{$row.delete_price|htmlentities}">
|
39
|
</div>
|
49
|
</div>
|
40
|
</div>
|
50
|
</div>
|
41
|
<div class="form-group">
|
51
|
<div class="form-group">
|
42
|
<label class="control-label col-xs-12 col-sm-2">{:__('Questionlabel_ids')}:</label>
|
52
|
<label class="control-label col-xs-12 col-sm-2">{:__('Questionlabel_ids')}:</label>
|
43
|
<div class="col-xs-12 col-sm-8">
|
53
|
<div class="col-xs-12 col-sm-8">
|
44
|
- <input id="c-QuestionLabel_ids" data-rule="required" data-source="question_label/index" data-field="title" data-multiple="true" class="form-control selectpage" name="row[QuestionLabel_ids]" type="text" value="{$row.QuestionLabel_ids|htmlentities}">
|
54
|
+ <input id="c-QuestionLabel_ids" data-rule="required" data-source="question_label/index" data-field="title"
|
|
|
55
|
+ data-multiple="true" class="form-control selectpage" name="row[QuestionLabel_ids]" type="text"
|
|
|
56
|
+ value="{$row.QuestionLabel_ids|htmlentities}">
|
45
|
</div>
|
57
|
</div>
|
46
|
</div>
|
58
|
</div>
|
47
|
<div class="form-group">
|
59
|
<div class="form-group">
|
48
|
<label class="control-label col-xs-12 col-sm-2">{:__('Long_image')}:</label>
|
60
|
<label class="control-label col-xs-12 col-sm-2">{:__('Long_image')}:</label>
|
49
|
<div class="col-xs-12 col-sm-8">
|
61
|
<div class="col-xs-12 col-sm-8">
|
50
|
<div class="input-group">
|
62
|
<div class="input-group">
|
51
|
- <input id="c-long_image" data-rule="required" class="form-control" size="50" name="row[long_image]" type="text" value="{$row.long_image|htmlentities}">
|
63
|
+ <input id="c-long_image" data-rule="required" class="form-control" size="50" name="row[long_image]"
|
|
|
64
|
+ type="text" value="{$row.long_image|htmlentities}">
|
52
|
<div class="input-group-addon no-border no-padding">
|
65
|
<div class="input-group-addon no-border no-padding">
|
53
|
- <span><button type="button" id="faupload-long_image" class="btn btn-danger faupload" data-input-id="c-long_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-long_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
54
|
- <span><button type="button" id="fachoose-long_image" class="btn btn-primary fachoose" data-input-id="c-long_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
66
|
+ <span><button type="button" id="faupload-long_image" class="btn btn-danger faupload"
|
|
|
67
|
+ data-input-id="c-long_image"
|
|
|
68
|
+ data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
|
|
|
69
|
+ data-multiple="false" data-preview-id="p-long_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
70
|
+ <span><button type="button" id="fachoose-long_image" class="btn btn-primary fachoose"
|
|
|
71
|
+ data-input-id="c-long_image" data-mimetype="image/*" data-multiple="false"><i
|
|
|
72
|
+ class="fa fa-list"></i> {:__('Choose')}</button></span>
|
55
|
</div>
|
73
|
</div>
|
56
|
<span class="msg-box n-right" for="c-long_image"></span>
|
74
|
<span class="msg-box n-right" for="c-long_image"></span>
|
57
|
</div>
|
75
|
</div>
|
|
@@ -61,19 +79,29 @@ |
|
@@ -61,19 +79,29 @@ |
61
|
<div class="form-group">
|
79
|
<div class="form-group">
|
62
|
<label class="control-label col-xs-12 col-sm-2">{:__('One_talk')}:</label>
|
80
|
<label class="control-label col-xs-12 col-sm-2">{:__('One_talk')}:</label>
|
63
|
<div class="col-xs-12 col-sm-8">
|
81
|
<div class="col-xs-12 col-sm-8">
|
64
|
- <input id="c-one_talk" data-rule="required" class="form-control" name="row[one_talk]" type="text" value="{$row.one_talk|htmlentities}">
|
82
|
+ <input id="c-one_talk" data-rule="required" class="form-control" name="row[one_talk]" type="text"
|
|
|
83
|
+ value="{$row.one_talk|htmlentities}">
|
65
|
</div>
|
84
|
</div>
|
66
|
</div>
|
85
|
</div>
|
67
|
<div class="form-group">
|
86
|
<div class="form-group">
|
68
|
<label class="control-label col-xs-12 col-sm-2">{:__('Stock')}:</label>
|
87
|
<label class="control-label col-xs-12 col-sm-2">{:__('Stock')}:</label>
|
69
|
<div class="col-xs-12 col-sm-8">
|
88
|
<div class="col-xs-12 col-sm-8">
|
70
|
- <input id="c-stock" data-rule="required" class="form-control" name="row[stock]" type="number" value="{$row.stock|htmlentities}">
|
89
|
+ <input id="c-stock" data-rule="required" class="form-control" name="row[stock]" type="number"
|
|
|
90
|
+ value="{$row.stock|htmlentities}">
|
71
|
</div>
|
91
|
</div>
|
72
|
</div>
|
92
|
</div>
|
73
|
<div class="form-group">
|
93
|
<div class="form-group">
|
74
|
<label class="control-label col-xs-12 col-sm-2">{:__('Sales')}:</label>
|
94
|
<label class="control-label col-xs-12 col-sm-2">{:__('Sales')}:</label>
|
75
|
<div class="col-xs-12 col-sm-8">
|
95
|
<div class="col-xs-12 col-sm-8">
|
76
|
- <input id="c-sales" data-rule="required" class="form-control" name="row[sales]" type="number" value="{$row.sales|htmlentities}">
|
96
|
+ <input id="c-sales" data-rule="required" class="form-control" name="row[sales]" type="number"
|
|
|
97
|
+ value="{$row.sales|htmlentities}">
|
|
|
98
|
+ </div>
|
|
|
99
|
+ </div>
|
|
|
100
|
+ <div class="form-group">
|
|
|
101
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Goods_code')}:</label>
|
|
|
102
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
103
|
+ <input id="c-goods_code" data-rule="required" class="form-control" name="row[goods_code]" type="text"
|
|
|
104
|
+ value="{$row.goods_code|htmlentities}">
|
77
|
</div>
|
105
|
</div>
|
78
|
</div>
|
106
|
</div>
|
79
|
<div class="form-group layer-footer">
|
107
|
<div class="form-group layer-footer">
|