https://github.com/tb/modal_scaffold
Rails modal AJAX scaffold
https://github.com/tb/modal_scaffold
Last synced: 5 months ago
JSON representation
Rails modal AJAX scaffold
- Host: GitHub
- URL: https://github.com/tb/modal_scaffold
- Owner: tb
- License: mit
- Created: 2010-11-08T18:46:42.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-11-08T19:11:32.000Z (over 15 years ago)
- Last Synced: 2025-10-10T11:36:18.960Z (9 months ago)
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- License: MIT-LICENSE
Awesome Lists containing this project
README
h1. ModalScaffold
h2. Usage
bc.. rails new sample_app
cd sample_app
rake rails:template LOCATION=https://github.com/tb/rails-templates/raw/master/jquery.rb
rake rails:template LOCATION=https://github.com/tb/rails-templates/raw/master/jquery_colourbox.rb
rails plugin install git://github.com/tb/modal_scaffold.git
rails g modal_scaffold Article title:string body:text published_at:datetime
p. Add in application layout:
bc.. <%= stylesheet_link_tag 'colorbox' %>
<%= javascript_include_tag 'jquery.colorbox' %>
p. Copyright (c) 2010 Tomasz Bak, released under the MIT license