Skip to content

tonttu/malline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Malline 1.1.0-git
=================

Sorry, the domain malline.org was lost and the web page, original svn
repository and the trac are down (and all documentation :P)..

Copyright © 2007,2008 Riku Palomäki, riku@palomaki.fi
Malline is released under GNU Lesser General Public License.


Example Rails template file images.html.mn:

	xhtml do
		_render :partial => 'head'
		body do
			div.images! "There are some images:" do
				images.each do |im|
					a(:href => img_path(im)) { img :src => im.url }
					span.caption im.caption
				end
				_"No more images"
			end
			div.footer! { _render :partial => 'footer' }
		end
	end

About

Malline is a template system for Ruby on Rails

Resources

Stars

Watchers

Forks

Packages