Changeset 1515


Ignore:
Timestamp:
12/22/15 12:59:07 (9 years ago)
Author:
nanardon
Message:

Add confirmation when deleting a status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/html/users/employment.tt

    r1513 r1515  
    2828<a href="[% c.uri_for('/users', user.id, 'employment', co.id) %]">Voir</a> 
    2929[% IF co.get_attributes('state') > 0 %] 
    30 <form method=POST action="[% c.uri_for('/users', username, 'employment') %]"> 
     30<form method=POST action="[% c.uri_for('/users', username, 'employment') %]" 
     31    onSubmit="return confirm('Détruire le statut commençant [% co.get_attributes('firstday') %] ?') ? true : false"> 
    3132<input type=hidden name=delemployment value="[% co.id %]"> 
    3233<input type=submit value="Supprimer"> 
Note: See TracChangeset for help on using the changeset viewer.