只是想在Laravel中创建一个简单的表单 课程'表格'在signup.blade.php中找不到
这是web.php
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/jeremie/Projects/Work_Projects/24-django/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/home/jeremie/Projects/Work_Projects/24-django/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/jeremie/Projects/Work_Projects/24-django/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/jeremie/Projects/Work_Projects/24-django/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/home/jeremie/Projects/Work_Projects/24-django/loanwolf/core/management/commands/gen_fake_data.py", line 583, in handle
options=options)
File "/home/jeremie/Projects/Work_Projects/24-django/loanwolf/core/management/commands/gen_fake_data.py", line 244, in create_operation
req = app.accept()
File "/home/jeremie/Projects/Work_Projects/24-django/loanwolf/requests/models.py", line 625, in accept
return create_request_from_external(self)
File "/home/jeremie/Projects/Work_Projects/24-django/loanwolf/requests/utils.py", line 123, in create_request_from_external
'entered_documents_at': datetime.datetime.now(),
TypeError: __init__() got an unexpected keyword argument 'customer'
这是signup.blade.php
Route::get('signup', function ()
{
return view('signup');
});
我是否错过了任何{{ Form::open(array('url' => 'thanks')) }} //Here
{{Form::label('email','Email Address')}}
{{Form::text('email')}}
{{Form::select('os', array(
'linux' => 'Linux',
'mac' => 'Mac OS X',
'windows' => 'Windows'
))}}
{{Form::label('comment','Comments')}}
{{Form::textarea('comment','', array('placeholder' => 'What are your
interests?'))}}
{{Form::checkbox('agree', 'yes', false)}}
{{Form::label('agree', 'I agree to your terms of service')}}
{{Form::submit('signup')}}
{{ Form::close() }}
或use
陈述或此处的错误
谢谢!