Public bug reported:

Every form output by Aiki gets the same id:

<div id="form_container"> ... </div>

If a page has multiple forms, all of them will have the same id, which
is not good practice.

The id needs to be something unique. A good candidate would be the name
of the form according to the aiki forms admin interface, e.g.:

<div id="aiki_users"> ... </div>

We'd have to check if Aiki relies on the value "form_container" to
interact with that part of the DOM via JavaScript, and update those
parts of the code accordingly if the form id's become dynamic.

** Affects: aikiframework
     Importance: Undecided
         Status: New

** Changed in: aikiframework
    Milestone: None => 0.9

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/789295

Title:
  Every form is given the same css id

Status in Aiki Framework:
  New

Bug description:
  Every form output by Aiki gets the same id:

  <div id="form_container"> ... </div>

  If a page has multiple forms, all of them will have the same id, which
  is not good practice.

  The id needs to be something unique. A good candidate would be the
  name of the form according to the aiki forms admin interface, e.g.:

  <div id="aiki_users"> ... </div>

  We'd have to check if Aiki relies on the value "form_container" to
  interact with that part of the DOM via JavaScript, and update those
  parts of the code accordingly if the form id's become dynamic.

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to