mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-11 07:56:47 +02:00
Updated layout
This commit is contained in:
parent
0eeb4866f4
commit
6b1e9893e9
13 changed files with 46 additions and 59 deletions
|
@ -1,6 +1,8 @@
|
|||
angular.module('rallly')
|
||||
.controller('NewEventCtrl', function($scope, $http, $state){
|
||||
$(".nav-link[href='/']").addClass('active');
|
||||
$scope.event = {};
|
||||
$scope.isNewEvent = true;
|
||||
$scope.submit = function(){
|
||||
$http.post('/api/event', $scope.event)
|
||||
.success(function(event, status, headers, config){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue