Ignore:
Timestamp:
01/08/16 17:10:14 (9 years ago)
Author:
nanardon
Message:

Some fix on employment form

Location:
trunk/LATMOS-Accounts-Web
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/AttrForms.pm

    r1593 r1613  
    126126            department 
    127127            managerContact 
    128             hosted 
    129128        ) ], 
    130129    }, 
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/AttrFormsA.pm

    r1549 r1613  
    8989        ($hint ? sprintf('title="%s"', $self->escape($hint)) : ''), 
    9090        $self->escape($self->htmlname), 
    91         $self->escape($self->{label} || $self->htmlname), 
     91        $self->escape($self->label || $self->htmlname), 
    9292    ); 
    9393} 
  • trunk/LATMOS-Accounts-Web/root/html/users/employment.tt

    r1610 r1613  
    4343<tr> 
    4444    <th> 
    45         [% form.attr_label(attr) %] 
     45        [% thisform.attr_label(attr) |html %] 
    4646        [% IF thisform.attr_hint(attr) %] 
    4747        <span 
     
    100100    </a> 
    101101    [% IF co.get_attributes('state') > 0 %] 
    102 <!-- 
    103102    <form method=POST action="[% c.uri_for('/users', username, 'employment') %]" 
    104103        onSubmit="return confirm('Détruire le statut commençant [% co.get_attributes('firstday') %] ?') ? true : false"> 
     
    106105    <input type=submit value="Supprimer"> 
    107106    </form> 
    108 --> 
    109107    [% END %] 
    110108 
Note: See TracChangeset for help on using the changeset viewer.