PHP Classes

File: templates/Competitors/edit.php

Recommend this page to a friend!
  Packages of Andraž   BB   templates/Competitors/edit.php   Download  
File: templates/Competitors/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,134 bytes
 

Contents

Class file image Download
<?php

/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\Competitor $competitor
 */
$this->assign('title', __('Uredi tekmovalca') . ' ? ' . $competitor->name);
?>

<div class="bt-page">
    <div class="bt-header">
        <div>
            <h1 class="bt-header-title">
                <?= __('Uredi tekmovalca') ?>
</h1>
            <p class="bt-header-subtitle">
                <?= h($competitor->name) ?>
</p>
        </div>
        <div class="bt-actions">
            <?= $this->Html->link(__('Nazaj na seznam'), "/tournament-events/view/{$tournament_event_id}", [
               
'class' => 'bt-button-secondary',
            ])
?>
<?= $this->Form->postLink(__('Izbri?i'), ['action' => 'delete', $competitor->id], [
               
'confirm' => __('Res ?eli? izbrisati tega tekmovalca?'),
               
'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('Competitors/form') ?>
</div>
    </div>
</div>