add tags to results template and remove the unused controller (the partial template uses the application controller)
import Ember from 'ember';
import _ from 'lodash/lodash';
export default Ember.Component.extend({
actions: {
toggleEditContributors : function() {
console.log("EDIT CONTRIBUTORS");
// var contributors = _.clone(this.get('document').get('contributors'));
// console.log("EDIT CONTRIBUTPRS", contributors);
// contributors.push({
// name: "Hello world",
// url: null,
// role: 'http://www.language-archives.org/OLAC/1.1/annotator'
// });
// this.get('document').set('contributors', contributors);
Ember.$('#doc-contributors-table-pane').slideToggle();
Ember.$('#doc-contributors-list-pane').slideToggle();
}
}
});