import { Component, OnInit } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IClusterTemplateModel } from '@fleio-api/openstack/model/cluster-template.model';
import { ActivatedRoute } from '@angular/router';
import { ClusterTemplateListUiService } from '../cluster-template-list-ui.service';

@Component({
  selector: 'app-cluster-template-edit',
  templateUrl: './cluster-template-edit.component.html',
  styleUrls: ['./cluster-template-edit.component.scss']
})
export class ClusterTemplateEditComponent extends DetailsBase<IClusterTemplateModel> implements OnInit {

  constructor(route: ActivatedRoute, clusterTemplateListUiService: ClusterTemplateListUiService) {
    super(route, clusterTemplateListUiService, 'edit', 'clusterTemplate', ['createOptions']);
  }
}
