Methods
(inner) changeCover()
Changes the image in the cropper field when a new image is uploaded
- Source:
(inner) check_game_name()
Check if the Game already exist
- Source:
Returns:
Boolean True if name does not exist
(inner) check_values()
Binding for the input search.
Disable or enable the submit btn depending on check_game_name()
- Source:
(inner) create_game(form)
Creates a new game on the DB if possible
Parameters:
Name | Type | Description |
---|---|---|
form |
- Source:
Returns:
(boolean|Redirect) False if some error or Redirect to /gaming