Preventing form to submit on enter

Bug arised when embeded inputs in form tag for '.form-inline' look and
feel.