<?php
// ~/Sites/presentation/mvc-basics/resources/views/event/tickets/index.blade.php
// Using your text editor, edit the `index.blade.php` file and replace the placeholder
// cell with a link to edit the ticket.

<tr>
    <td>{{ $ticket->id }}</td>
    <td>{{ $ticket->ticketholder_name }}</td>
    <td>{{ $ticket->ticket_price }}</td>
    <td>
        <a href="{{ route('event.tickets.edit', ['id' => $ticket->id]) }}">Edit</a>
    </td>
</tr>
<?php
// ~/Sites/presentation/mvc-basics/resources/views/event/tickets/index.blade.php
// Using your text editor, edit the `index.blade.php` file and replace the placeholder
// cell with a link to edit the ticket.

<tr>
    <td>{{ $ticket->id }}</td>
    <td>{{ $ticket->ticketholder_name }}</td>
    <td>{{ $ticket->ticket_price }}</td>
    <td>
        <div class"btn-group">
            <a class="btn btn-info" href="{{ route('event.tickets.edit', ['id' => $ticket->id]) }}">Edit</a>
        </div>
    </td>
</tr>
Update laravel/mvc-basics/step-by-step/36 with theme formatting
Update laravel/mvc-basics/step-by-step/36 with theme formatting
