]> git.mxchange.org Git - friendica.git/blob - view/templates/profile/schedule.tpl
Using "post" when deleting, fixing deleting
[friendica.git] / view / templates / profile / schedule.tpl
1 <div class="generic-page-wrapper">
2         <h1>{{$title}}</h1>
3         <table id='application-block' class='table table-condensed table-striped'>
4                 <thead>
5                         <tr>
6                                 <th>{{$scheduled_at}}</th>
7                                 <th>{{$content}}</th>
8                         </tr>
9                 </thead>
10                 <tbody>
11                         {{foreach $schedule as $entry}}
12                         <tr>
13                                 <td>{{$entry.scheduled_at}}</td>
14                                 <td>{{$entry.content}}</td>
15                                 <td>
16                                         <form action="{{$baseurl}}/profile/{{$nickname}}/schedule" method="post">
17                                                 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
18                                                 <button type="submit" name="delete" value="{{$row.id}}" title="{{$delete}}">
19                                                         <i class="fa fa-trash" aria-hidden="true">
20                                                 </button>
21                                         </form>
22                                 </td>
23                         </tr>
24                         {{/foreach}}
25                 </tbody>
26         </table>
27 </div>