[Ruby] Html to FormHelper?

Scott Windsor swindsor at gmail.com
Thu Jan 31 08:26:29 PST 2008


Ouch... I'd probably avoid using the dreamweaver generated HTML or just use
it as a starting point then refactor, refactor, etc.  Most HTML generators
end up butchering CSS, which makes your site much less maintainable in the
future.  If you know a designer that knows HTML/CSS or web developer it
doesn't take much time at all to teach them ERB.

But if that's the hand you are dealt, I'd try to write a ruby script that
does this conversion for you...  Hprioct might be a good starting point for
parsing the HTML and making changes.

- scott

On Jan 30, 2008 6:36 PM, Neil Moomey <neil at motznik.com> wrote:

> We hired a designer to create our web forms but he only knows html and
> Dreamweaver.  Is there a tool to convert html to Rails FormHelpers?
>
> I have not tried RubyWeaver but is this something I could easily talk him
> into using?  How good it?
>
> Neil
> _______________________________________________
> Ruby at zenspider.com - Seattle.rb non-commercial list
> http://www.zenspider.com/seattle.rb
> http://www.zenspider.com/mailman/listinfo/ruby
>


More information about the Ruby mailing list