File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 215215 tal:attributes ="href string:file${file/id} "> edit</ a >
216216 </ td >
217217 < td >
218- < form style ="padding:0 " tal:condition ="file/is_edit_ok "
218+ < form style ="padding:0 " method =" POST " tal:condition ="file/is_edit_ok "
219219 tal:attributes ="action string:issue${context/id} ">
220220 < input type ="hidden " name ="@remove@files " tal:attributes ="value file/id ">
221221 < input type ="hidden " name ="@action " value ="edit ">
236236 < th i18n:translate =""> Date: < tal:x replace ="python:msg.date.pretty('%Y-%m-%d %H:%M') "
237237 i18n:name ="date " /> </ th >
238238 < th >
239- < form style ="padding:0 " tal:condition ="msg/is_edit_ok "
239+ < form style ="padding:0 " method =" POST " tal:condition ="msg/is_edit_ok "
240240 tal:attributes ="action string:issue${context/id} ">
241241 < input type ="hidden " name ="@remove@messages " tal:attributes ="value msg/id ">
242242 < input type ="hidden " name ="@action " value ="edit ">
Original file line number Diff line number Diff line change 6363 < td tal:content ="python:user.address.email() or default "> </ td >
6464 < td tal:content ="python:user.phone.plain() or default "> </ td >
6565 < td tal:condition ="context/is_edit_ok ">
66- < a tal:attributes ="href string:user${user/id}?@action=retire&@template=index "
67- i18n:translate =""> retire</ a >
66+ < form style ="padding:0 " method ="POST "
67+ tal:attributes ="action string:user${user/id} ">
68+ < input type ="hidden " name ="@template " value ="index ">
69+ < input type ="hidden " name ="@action " value ="retire ">
70+ < input type ="submit " value ="retire " i18n:attributes ="value ">
71+ </ form >
6872 </ td >
6973</ tr >
7074</ tal:block >
You can’t perform that action at this time.
0 commit comments