Of course, would be great to clean up the syntax and make a path forward since the form syntax is one of the worst. Christopher, you have any ideas on this?
On Fri, Jun 3, 2011 at 10:16 AM, [email protected] <[email protected]> wrote: > Roger these are great steps forward!!! Thanks for these additions. > Great for all to test these out on latest checkedout version of aiki! > > Jon > > On Fri, Jun 3, 2011 at 10:07 AM, Roger Martín <[email protected]> wrote: >> I started working on forms.php. >> Changes: >> - now you can call the form with your name >> # (form: add: 17) # = # (form: add: aiki_users) # >> - Have changed the id, class and names of the form. >> div container: FORM_NAME_container >> id form: form_FORM_NAME >> name = FORM_NAME >> class = "FORM_NAME edit_form | new_record_form" >> EX: aiki_users_container, form_aiki_users, aiki_users, "aiki_users >> new_record". >> Perhaps CSS breaks now >> >> The next step is add html attributes like: >> >> #(form:add:aiki-users:no-ajax: :id=user|class=myclass|onsubmit=validate()" >> that must a generate a form with >> <form ..id="user" class="myclass" onsubmit="validate()"... >> >> This sintaxis is not very clear..but is compatible with previous version and >> very flexible: we can add all html attributes.. >> >> PD: yes..i will documented it and search bugs and blueprint affected by >> this.. >> >> have a nice weekend!! >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~aikiframework-devel >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~aikiframework-devel >> More help : https://help.launchpad.net/ListHelp >> >> > > > > -- > Jon Phillips > http://rejon.org/ | http://fabricatorz.com/ > chat/skype: kidproto | irc: rejon > +1.415.830.3884 (global) | +1-510-499-0894 (sf) > +86-187-1003-9974 (beijing) > -- Jon Phillips http://rejon.org/ | http://fabricatorz.com/ chat/skype: kidproto | irc: rejon +1.415.830.3884 (global) | +1-510-499-0894 (sf) +86-187-1003-9974 (beijing) _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

