admin: can edit theme introductions

This commit is contained in:
nemunaire 2018-01-06 15:26:06 +01:00
commit 5e2e03f5e9
2 changed files with 3 additions and 2 deletions

View file

@ -632,7 +632,7 @@ angular.module("FICApp")
})
.controller("ThemeController", function($scope, Theme, $routeParams, $location, $rootScope, $http) {
$scope.theme = Theme.get({ themeId: $routeParams.themeId });
$scope.fields = ["name", "authors"];
$scope.fields = ["name", "authors", "intro"];
$scope.saveTheme = function() {
if (this.theme.id) {