Skip to content
starpeak edited this page Sep 14, 2010 · 11 revisions

The purpose of this project is to create a ruby on rails plugin that allows to use prototypeui:http://github.com/starpeak/prototypeui/tree/master in rhtml files the easy way.

Install

just run


script/plugin install git://github.com/starpeak/prototypeui_plugin.git

from within your project

Usage

For now just try to add


<%= javascript_include_tag :defaults, :cache=>true >
<
= pui_css_theme ‘leopard’ >

to the header of your page (e.g. in layouts) and something like

<=
link_to_window ‘Test Window’,
:url=>{
:controller=>’home’,
:action=>’testwindow’,
:id=>12,
:test=>true
},
:theme=>"leopard",
:shadow=>true
%>

in the body

Clone this wiki locally