]> git.mxchange.org Git - friendica.git/commitdiff
Update view/theme/frio/templates/profile/schedule.tpl
authorMichael Vogel <icarus@dabo.de>
Mon, 2 Aug 2021 18:43:50 +0000 (20:43 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Aug 2021 18:43:50 +0000 (20:43 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
view/theme/frio/templates/profile/schedule.tpl

index e481639020069e44c23672097f4383f9c06febf2..c241285592f0b444cfb7689bda2361d5dbe99b4b 100644 (file)
                                <tr>
                                        <td>{{$row.scheduled_at}}</td>
                                        <td>{{$row.content}}</td>
-                                       <td><a href="{{$baseurl}}/profile/{{$nickname}}/schedule/delete/{{$row.id}}?t={{$form_security_token}}" class="btn" title="{{$delete}}"><i class="fa fa-trash" aria-hidden="true"></i></a></td>
+                                       <td>
+                                               <form action="{{$baseurl}}/profile/{{$nickname}}/schedule" method="post">
+                                                       <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
+                                                       <button type="submit" name="delete" value="{{$row.id}}" title="{{$delete}}">
+                                                               <i class="fa fa-trash" aria-hidden="true">
+                                                       </button>
+                                               </form>
+                                       </td>
                                </tr>
                                {{/foreach}}
                        </tbody>