Ignore:
Timestamp:
06/06/09 20:46:24 (15 years ago)
Author:
nanardon
Message:
  • make massedit working
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts-Web/root/html/massedit/index.tt

    r234 r236  
    4747<form action="[% c.uri_for() %]" method="POST"> 
    4848<input type="hidden" name="otype" value="[% c.req.param('otype') %]"> 
     49<input type="hidden" name="_change" value="all"> 
     50[% FOREACH obj = objectslist %] 
     51<input type="hidden" name="objid" value="[% obj.id | html  %]"> 
     52[% END %] 
    4953[% FOREACH atcol = c.req.param('attrcol') %] 
    5054[% NEXT IF NOT atcol %] 
    51 <input type="hidden" name="attrcol" value="[% atcol %]"> 
    5255[% END %] 
    5356<tr> 
     
    6669<form action="[% c.uri_for() %]" method="POST"> 
    6770<input type="hidden" name="otype" value="[% c.req.param('otype') %]"> 
     71<input type="hidden" name="_change" value="perobj"> 
    6872[% FOREACH atcol = c.req.param('attrcol') %] 
    6973[% NEXT IF NOT atcol %] 
    70 <input type="hidden" name="attrcol" value="[% atcol %]"> 
    7174[% END %] 
    7275[% FOREACH obj = objectslist %] 
    7376[% attrform = c.model('AttrForms', c.req.param('otype'), obj) %] 
    7477<tr> 
    75 <th>[% obj.id | html  %]</th> 
     78<th>[% obj.id | html  %] 
     79<input type="hidden" name="objid" value="[% obj.id | html  %]"> 
     80</th> 
    7681[% FOREACH atcol = c.req.param('attrcol') %] 
    7782[% NEXT IF NOT atcol %] 
Note: See TracChangeset for help on using the changeset viewer.