Plugin details

Template system that seperates code and html view.

Websitehttp://verbdev.lighthouseapp.com/projects/3771/lilu Repositoryhttp://svn.verbdev.com/lilu/trunk/lilu Author Yurii Rashkovskii Tags template LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install http://svn.verbdev.com/lilu/trunk/lilu

app/views/blog/post.lilu

if @users and !@users.empty?
  populate('#found_user').for(:each,@users) do |user|
    mapping 'h1' => user.name
  end
  remove('#no_matching_users')
else
  remove('#found_users')
end

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 10 months ago