We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b36bf commit c3562d2Copy full SHA for c3562d2
1 file changed
arc/js/entries/base.js
@@ -67,19 +67,20 @@ Entry.prototype.btn = function(name, icon) {
67
}
68
69
Entry.prototype.input = function(type, with_value) {
70
- return '<div class="input-group mif">' +
+ return '<div ' + ( type != 'file' ? 'class="input-group mif"' : '' ) + '>' +
71
'<input ' +
72
- 'class="form-control" ' +
+ ( type != 'file' ? 'class="form-control" ' : ' ' )+
73
'data-entry-type="' + this.type + '" ' +
74
'type="' + type + '" ' +
75
'name="' + this.id + '" ' +
76
'id="' + this.id + '" ' +
77
'value="' + ( with_value ? this.safeValue() : '' ) + '"' +
78
( type == 'file' ? 'multiple' : '' ) +
79
'/>' +
80
+ ( type != 'file' ?
81
'<span class="input-group-btn">' +
82
this.btn( 'copy', 'clipboard' ) +
- '</span>' +
83
+ '</span>' : '' ) +
84
'</div>';
85
86
0 commit comments