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.

Erubis = ERB  

This is the module used to add the Forme integration to ERB.

Form = Forme::ERB::Form  

Subclass used when using Forme ERB integration. Handles integrating into the view template so that methods with blocks can inject strings into the output.

HIDDEN_TAGS = Forme::ERB::HIDDEN_TAGS