init
This commit is contained in:
16
src/editable-form/editable-form-bootstrap.js
Normal file
16
src/editable-form/editable-form-bootstrap.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Editable-form Bootstrap engine
|
||||
*/
|
||||
(function ($) {
|
||||
|
||||
//form template
|
||||
$.fn.editableform.template = '<form class="form-inline editableform"><div class="control-group">' +
|
||||
' <button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i></button> <button type="button" class="btn clearfix"><i class="icon-ban-circle"></i></button>' +
|
||||
'<div style="clear:both"><span class="help-block editable-error-block"></span></div>' +
|
||||
'</div></form>';
|
||||
|
||||
//error classes
|
||||
$.fn.editableform.errorGroupClass = 'error';
|
||||
$.fn.editableform.errorBlockClass = null;
|
||||
|
||||
}(window.jQuery));
|
Reference in New Issue
Block a user