]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/settings/oauth.tpl
Revert Post::selectOriginal to original logic
[friendica.git] / view / templates / settings / oauth.tpl
index 955b5754dcb7e087e68db25a13b11fc7d9e87e52..ad8407fb174db0ea148a840b599d0e75fe033ecb 100644 (file)
@@ -1,13 +1,14 @@
 <div class="generic-page-wrapper">
        <h1>{{$title}}</h1>
        <form action="settings/oauth" method="post" autocomplete="off">
-               <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+               <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
                <table id='application-block' class='table table-condensed table-striped'>
                        <thead>
                                <tr>
                                        <th>{{$name}}</th>
                                        <th>{{$website}}</th>
                                        <th>{{$created_at}}</th>
+                                       <th></th>
                                </tr>
                        </thead>
                        <tbody>
                                        <td>{{$app.name}}</td>
                                        <td>{{$app.website}}</td>
                                        <td>{{$app.created_at}}</td>
-                                       <td><a href="{{$baseurl}}/settings/oauth/delete/{{$app.id}}?t={{$form_security_token}}" class="icon s22 delete" title="{{$delete}}">&nbsp;</a></td>
+                                       <td>
+                                               <button type="submit" class="btn" title="{{$delete}}" name="delete" value="{{$app.id}}">
+                                                       <i class="icon s22 delete" aria-hidden="true"></i>
+                                               </button>
+                                       </td>
                                </tr>
                                {{/foreach}}
                        </tbody>