ver3
This commit is contained in:
@@ -35,6 +35,21 @@
|
||||
<span>{{ event.comment }}</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<!-- Dodajemy sekcję dla rejestracji -->
|
||||
<h3>Rejestracje</h3>
|
||||
<ul>
|
||||
<li v-for="registration in event.registrations" :key="registration.id">
|
||||
{{ registration.playerName }}
|
||||
<!-- lub inne pola, które chcesz pokazać -->
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<router-link :to="{ name: 'RegistrationCreateForEvent', params: { eventId: event.id } }" custom v-slot="{ navigate }">
|
||||
<button @click="navigate" class="btn btn-primary">
|
||||
<font-awesome-icon icon="plus"></font-awesome-icon> <span>Dodaj Rejestrację</span>
|
||||
</button>
|
||||
</router-link>
|
||||
|
||||
<button type="submit" @click.prevent="previousState()" class="btn btn-info" data-cy="entityDetailsBackButton">
|
||||
<font-awesome-icon icon="arrow-left"></font-awesome-icon> <span>Back</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user