Colin Law wrote:
> 2010/1/25 Tom Mac <[email protected]>:
>> Hi
>> � I have
>> <button type="submit" class="class1"><span>Create </span></button>
Not an error f.submit creates the html as
<input class="class1" id="model_submit" name="commit" type="submit"
value="Create" />
But what I need is exactly
<button type="submit" class="class1"><span>Create </span></button>
If directly use this no problem But what I ould like to know an
alternative in railshelper
Tom
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.