FEATURE #1368: add form for creating new custom field

Currently, form is not saved, however it is validated.
This commit is contained in:
Michal Kváček
2016-01-25 18:59:31 +01:00
parent 4261362ea1
commit 3c8eb3c3f1
8 changed files with 163 additions and 8 deletions
+11 -2
View File
@@ -48,11 +48,20 @@ Route::group([
Route::get('users/overview/{state?}', 'UsersOverview@getOverview')
->name('users.overview');
// custom fields
// ------------------------------
Route::get('customfields/overview', 'CustomFieldsOverview@getOverview')->name('customfields.overview');
// list of all custom fields
Route::get('customfields/overview', 'CustomFieldsOverview@getOverview')
->name('customfields.overview');
// form for adding new custom field
Route::get('customfields/new', 'CreateNewCustomField@getNew')
->name('customfields.new');
// form for adding new custom field
Route::post('customfields/new', 'CreateNewCustomField@postNew')
->name('customfields.newPost');
// logout method
Route::get('logout', function () {