From: Paul McMahon Date: 2008-06-18T17:02:24+09:00 Subject: Re: Amrita : how to define the field VALUE of the tag INPUT. Randy wrote: > Hello, > > I'm using Amrita to build a FORM with some "" fields, I > don't know how to define > an identifier for the default value of this input, the field "value". I'm not quite sure what you are wanting to do as you only gave an html fragment. However, I am guessing you want to do something like this: require "amrita/template" s = "" template = Amrita::TemplateText.new(s) template.expand(STDOUT, { :my_value => Amrita.a(:value => 'a default')})