Fixed layout

This commit is contained in:
Djamil Legato
2014-09-15 12:19:20 -07:00
parent 3f0db002a8
commit 037e0c0fdd
2 changed files with 3 additions and 2 deletions

View File

@@ -31,7 +31,8 @@
key: this.container.data('grav-dynfields-key') || 'Key',
val: this.container.data('grav-dynfields-value') || 'Value'
};
return '' + ' <input type="text" value="" placeholder="' + placeholder.key + '" />' + ' <input type="text" name="' + name + '[]" value="" placeholder="' + placeholder.val + '" />' + ' <span data-grav-remfield class="button fa fa-minus"></span> <span data-grav-addfield class="button fa fa-plus"></span>' + '';
return '' + ' <input type="text" value="" placeholder="' + placeholder.key + '" />' + ' <input type="text" name="' + name + '[]" value="" placeholder="' + placeholder.val + '" />' + ' <span data-grav-remfield class="fa fa-minus"></span> <span data-grav-addfield class="fa fa-plus"></span>' + '';
}
};