Commits

Alain Poirier committed 42cfd78

Special classes added on automatic generated DOM elements

  • Participants
  • Parent commits 81be3e7

Comments (0)

Files changed (1)

File nagare/namespaces/xhtml.py

           - ``form`` -- the form tag
         """
         if self.session:
-            form(self.div(self.session.sessionid_in_form(self, self.request, self.response)))
+            form(self.div(self.session.sessionid_in_form(self, self.request, self.response), class_='nagare-generated nagare-session-data'))
 
     def add_sessionid_in_url(self, u='', params=None, sep='&'):
         """Add the session and continuation ids into an url
           - rendered tree
         """
         if self.wrapper_to_generate:
-            output = self.div(output, id=self.id)
+            output = self.div(output, id=self.id, class_='nagare-generated nagare-async-view')
 
         return output