add.html
5.9 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Company_holder')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-company_holder" data-field="username" data-source="user/index" class="form-control selectpage" name="row[company_holder]" type="number">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Company_name')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-company_name" class="form-control" name="row[company_name]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Credit')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-credit" class="form-control" name="row[credit]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Company_address')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-company_address" class="form-control" name="row[company_address]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Address_con')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-address_con" class="form-control" name="row[address_con]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Invoice_address')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-invoice_address" class="form-control" name="row[invoice_address]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Bank_name')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-bank_name" class="form-control" name="row[bank_name]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Bank_num')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-bank_num" class="form-control" name="row[bank_num]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Company_tel')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-company_tel" class="form-control" name="row[company_tel]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Type_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-type_id" data-rule="required" data-field="type" data-source="type/index" class="form-control selectpage" name="row[type_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Industry_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-industry_id" data-rule="required" data-field="industry" data-source="industry/index" class="form-control selectpage" name="row[industry_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="radio">
{foreach name="statusList" item="vo"}
<label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
{/foreach}
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Business_avatar')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input id="c-business_avatar" class="form-control" size="50" name="row[business_avatar]" type="text">
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="plupload-business_avatar" class="btn btn-danger plupload" data-input-id="c-business_avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-business_avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fachoose-business_avatar" class="btn btn-primary fachoose" data-input-id="c-business_avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="c-business_avatar"></span>
</div>
<ul class="row list-inline plupload-preview" id="p-business_avatar"></ul>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Paragraph')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-paragraph" data-rule="required" class="form-control" name="row[paragraph]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Register_tel')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-register_tel" data-rule="required" class="form-control" name="row[register_tel]" type="text">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>