Exemple #1
0
 /**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     $data = ['states' => states(), 'genres' => $this->genre->dropdown(), 'formats' => $this->format->dropdown()];
     return view('templates.station-form', $data);
 }
Exemple #2
0
 /**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     $data = ['genres' => $this->genre->dropdown(), 'formats' => $this->format->dropdown(), 'months' => months(), 'length' => [30 => 30, 60 => 60]];
     return view('templates.file-upload-form', $data);
 }