crystal-libraries-needed icon indicating copy to clipboard operation
crystal-libraries-needed copied to clipboard

Simple Form

Open drujensen opened this issue 7 years ago • 6 comments

drujensen avatar May 15 '17 18:05 drujensen

@drujensen What did you mean by this? A form builder, or something different?

I've built a couple of those in PHP for different projects, with an API very similar to Laravel's, so if that's the case I'd happily add it to my to-do list.

molovo avatar May 28 '17 06:05 molovo

@molovo Yes; that is what he is referring to. You can see Simple Form here. https://github.com/plataformatec/simple_form

It's the top form gem in Ruby. For a long time Formtastic was the most used, but it became unmaintained for a long time. (https://github.com/justinfrench/formtastic) Although now that gem is once again up to date and maintained as well.

bigtunacan avatar Jun 08 '17 15:06 bigtunacan

@molovo have you started working on this? I'm willing to give it a try if you haven't

felipeelias avatar Jun 13 '17 08:06 felipeelias

@felipeelias I haven't, and I'm unlikely too any time soon, so crack on

molovo avatar Jun 13 '17 11:06 molovo

Is there a decent data validation library out there that we could integrate with this?

molovo avatar Jun 16 '17 08:06 molovo

@molovo not that I know of. My idea is that the form builder may expect some object that defines a simple interface, like valid? and errors to display validation messages.

I didn't get there yet but I have started something here. It's very minor but I'm already using in one project of mine.

felipeelias avatar Jun 16 '17 10:06 felipeelias