module Forme::Sinatra

  1. lib/forme/sinatra.rb

For backwards compatibility only. New code should require 'forme/erb' and include the Forme::ERB::Helper class:

helpers Forme::ERB::Helper

Constants

ERB = Forme::ERB::Helper  

This is the module used to add the Forme integration to ERB templates, with optional support for rack_csrf for CSRF handling.

Erubis = ERB  

This is the module used to add the Forme integration to ERB templates, with optional support for rack_csrf for CSRF handling.

Form = Forme::Template::Form  
HIDDEN_TAGS = Forme::ERB::HIDDEN_TAGS