PHP Classes

File: templates/Players/edit.php

Recommend this page to a friend!
  Packages of Andraž   BB   templates/Players/edit.php   Download  
File: templates/Players/edit.php
Role: Example script
Content type: text/plain
Description: Example script
Class: BB
Badminton tournament management application
Author: By
Last change:
Date: 15 days ago
Size: 1,136 bytes
 

Contents

Class file image Download
<?php

/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\Player $player
 */
$this->assign('title', __('Uredi igralca') . ' ? ' . $player->first_name . ' ' . $player->last_name);
?>

<div class="bt-page">
    <div class="bt-header">
        <div>
            <h1 class="bt-header-title">
                <?= __('Uredi igralca') ?>
</h1>
            <p class="bt-header-subtitle">
                <?= h($player->first_name . ' ' . $player->last_name) ?>
</p>
        </div>
        <div class="bt-actions">
            <?= $this->Html->link(__('Nazaj na seznam'), ['action' => 'index'], [
               
'class' => 'bt-button-secondary',
            ])
?>
<?= $this->Form->postLink('Izbri?i', ['action' => 'delete', $player->id], [
               
'confirm' => __('Res ?eli? izbrisati tega igralca?'),
               
'class' => 'bt-button-secondary text-rose-700 border-rose-300 hover:bg-rose-50',
            ])
?>
</div>
    </div>

    <div class="bt-card">
        <div class="px-4 py-4">
            <?= $this->element('Players/form') ?>
</div>
    </div>
</div>