浏览代码

Add screenshot, update README and CHANGELOG

nghuuphuoc 11 年之前
父节点
当前提交
d5ff5422d2
共有 4 个文件被更改,包括 10 次插入8 次删除
  1. 1 1
      CHANGELOG.md
  2. 5 3
      README.md
  3. 4 4
      demo/index.html
  4. 二进制
      screenshots/screenshot.png

+ 1 - 1
CHANGELOG.md

@@ -1,6 +1,6 @@
 # Change Log
 
-## v0.3.0
+## v0.3.0 (Not released yet, but you can [try it](https://github.com/nghuuphuoc/bootstrapvalidator/archive/master.zip))
 
 __New features__:
 

+ 5 - 3
README.md

@@ -1,6 +1,8 @@
 # BootstrapValidator
 
-A jQuery plugin to validate form fields. Use with Bootstrap 3
+A jQuery plugin to validate form fields. Use with [Bootstrap 3](http://getbootstrap.com)
+
+![Screenshot](screenshots/screenshot.png)
 
 ## Features
 
@@ -294,8 +296,8 @@ $(form).bootstrapValidator({
 });
 ```
 
-For Rails, the input field is constructed from model name and field name. For Example, User have email as field, when form helper render
-view, the input field name will be 'user[email]'. The syntax for these is somewhat different as shown below:
+For Rails, the input field is constructed from model name and field name. For example, user have email as field, when form helper render
+view, the input field name will be ```'user[email]'```. The syntax for these is somewhat different as shown below:
 
 ```javascript
 $(form).bootstrapValidator({

+ 4 - 4
demo/index.html

@@ -195,10 +195,10 @@ $(document).ready(function() {
                         regexp: /^[a-zA-Z0-9_\.]+$/,
                         message: 'The username can only consist of alphabetical, number, dot and underscore'
                     },
-                    remote: {
-                        url: 'remote.php',
-                        message: 'The username is not available'
-                    },
+//                    remote: {
+//                        url: 'remote.php',
+//                        message: 'The username is not available'
+//                    },
                     different: {
                         field: 'password',
                         message: 'The username and password can\'t be the same as each other'

二进制
screenshots/screenshot.png