It is a very long time since I did any nitrogen, and this is from way back then, before nitrogen 1.0, but here[1] is a fieldset that I used then. Adapt and update as needed.
Also, didn't there used to be a githib repo of contributed elements?
Cheers
Russell
[1] https://gist.github.com/1715904
>
> --
> You received this message because you are subscribed to the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
> To post to this group, send email to nitro...@googlegroups.com.
> To unsubscribe from this group, send email to nitrogenweb...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nitrogenweb?hl=en.
>
https://github.com/vim/nitrogen_elements
I imagine quite a bit could be done to bring those elements up to 2.x
As for the fieldset element, while Russell's version is a pre-1.0
version, it's pretty close to being okay for 2.x. I recommend copying
it and having a look at one of the other elements like
element_link.erl to get a feel for creating your own variation of the
fieldset element.
That said, it would definitely be worthwhile to add fieldset and
legend to the official nitrogen dist.
-Jesse
--
Jesse Gumm
Sigma Star Systems
414.940.4866
gu...@sigma-star.com
http://www.sigma-star.com
-Jesse
Coincidentally enough, I ended up needing the fieldset today, so I'm
putting together one quickly and should be adding it to the official
Nitrogen repo soon, to be included in the upcoming 2.1.0 release.
-Jesse
2012/2/2 郎咸武 <langx...@gmail.com>: