This commit is contained in:
Dobie Wollert
2013-07-19 05:40:33 -04:00
parent 4380c10ba4
commit b4ca8d9ae3
4 changed files with 22 additions and 8 deletions

6
public/css/tags.css Normal file
View File

@ -0,0 +1,6 @@
input, input[type="date"], textarea, select {
width: 100%;
height: 40px;
padding: 5px;
box-sizing: border-box;
}

View File

@ -18,6 +18,8 @@ tags.PageCtrl = function($scope, $window, Tag, Clients) {
$scope.tag = payload.tag ? payload.tag.data : undefined;
$scope.isChrome = navigator.userAgent.indexOf('Chrome') !== -1;
if (payload.user) {
$scope.user = payload.user;
$scope.clients = Clients.index(function() {
@ -32,6 +34,8 @@ tags.PageCtrl = function($scope, $window, Tag, Clients) {
tag_id: $window.payload.id,
client: $scope.client,
data: $scope.tag
}, function() {
alert('Your changes have been saved.');
});
}
}