Update README.md
Fixed up readme a bit
This commit is contained in:
parent
29e035b8fd
commit
810a02bece
@ -16,15 +16,19 @@ Or install it yourself as:
|
|||||||
|
|
||||||
$ gem install sisyphus-rails
|
$ gem install sisyphus-rails
|
||||||
|
|
||||||
For a basic install include the following in your ++app/assets/javascripts/application.js++ file
|
For a basic install include the following in your *app/assets/javascripts/application.js* file
|
||||||
|
|
||||||
//= require jstorage
|
//= require jstorage
|
||||||
//= require sisyphus
|
//= require sisyphus
|
||||||
|
|
||||||
## How it Works
|
## How it Works
|
||||||
|
|
||||||
Sisyphus uses an aliased form_tag method to automatically put a ++<script>...</script>++ tag infront of your forms.
|
Sisyphus uses an aliased form_tag method to automatically put a *<script>...</script>* tag infront of your forms to initialize Sisyphus
|
||||||
|
|
||||||
|
<script>$(document).ready(function() {$('#sampleform').sisyphus();});</script>
|
||||||
|
<form id="sampleform">
|
||||||
|
...
|
||||||
|
</form>
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Sisyphus automatically works with all your forms, including custom form builders.
|
Sisyphus automatically works with all your forms, including custom form builders.
|
||||||
|
Loading…
Reference in New Issue
Block a user