@extends('dashboard::layouts.admin') @section('content')
{!! Breadcrumbs::render('edit.hack', $hackathon->id, $hack->id) !!} @include('hack::backend.partials.title')
{!! Form::model($hack, [ 'class' => 'form', 'method' => 'POST', 'route' => ['admin.update-hack', $hackathon->id, $hack->id], 'files' => true ]) !!} @include('hack::backend.partials.form', ['links' => $links, 'videos' => $videos, 'audios' => $audios, 'hackathon' => $hackathon, 'hack' => $hack]) @include('file::partials.file-upload') @include('file::partials.pdf-upload')
{!! Form::submit('Update', ['class' => 'edit-button']) !!} Cancel
{!! Form::close() !!}
@include('file::partials.file-edit-delete', ['entity' => $hack, 'model' => 'hack']) @include('file::partials.pdf-edit-delete', ['entity' => $hack, 'model' => 'hack']) @endsection