Sha256: b65e321ffb85423c5f7aa9a2e9137a695738f5388e0a5ce0082f16b720af3c1b
Contents?: true
Size: 521 Bytes
Versions: 19
Compression:
Stored size: 521 Bytes
Contents
# encoding: utf-8 # class ContactForm < Rango::Form # property :subject, String # property :message, Text # property :cc_self, Boolean # end # @future 0.0.3 It's just a prototype now module Rango class Form attribute :media def valid? end def to_html output = Array.new output << %{<form action="#{@action}" method="post">} output << *@fields.map { |field| field.to_html } output << %{</form>} return output.join("\n") end end class ModelForm end end
Version data entries
19 entries across 19 versions & 1 rubygems