|
Lines 6-14
document.addEventListener('DOMContentLoaded', function() {
Link Here
|
| 6 |
var row = '<li class="form-horizontal">' + |
6 |
var row = '<li class="form-horizontal">' + |
| 7 |
'<input type="text" class="custom-name ' + |
7 |
'<input type="text" class="custom-name ' + |
| 8 |
( opac ? 'form-control input-fluid custom-field-input' : '') + |
8 |
( opac ? 'form-control input-fluid custom-field-input' : '') + |
| 9 |
'" name="custom_key" placeholder="key">' + |
9 |
'" name="custom_key" placeholder="'+__('key')+'">' + |
| 10 |
'<input type="text" id="custom-value" name="custom_value" class="' + |
10 |
'<input type="text" id="custom-value" name="custom_value" class="' + |
| 11 |
( opac ? 'form-control input-fluid custom-field-input' : '') +'" placeholder="value"> ' + |
11 |
( opac ? 'form-control input-fluid custom-field-input' : '') +'" placeholder="'+__('value')+'"> ' + |
| 12 |
'<button type="button" class="btn btn-danger btn-sm ' + |
12 |
'<button type="button" class="btn btn-danger btn-sm ' + |
| 13 |
'delete-new-field">' + |
13 |
'delete-new-field">' + |
| 14 |
'<span class="fa fa-delete">' + |
14 |
'<span class="fa fa-delete">' + |
| 15 |
- |
|
|