import { Component, OnInit } from '@angular/core';
import { IObjectController } from '@objects-view/interfaces/object-controller';
import { StaticObjectController } from '@objects-view/static-object-controller';
import { EditTermsOfServiceFormComponent } from '../tabs/edit-terms-of-service-form/edit-terms-of-service-form.component';

@Component({
  selector: 'app-new-tos',
  templateUrl: './new-tos.component.html',
  styleUrls: ['./new-tos.component.scss']
})
export class NewTosComponent implements OnInit {
  public objectController: IObjectController = new StaticObjectController({
    header: {
      title: {
        text: $localize`New terms of service`,
      }
    },
    tabs: [
      {
        tabName: $localize`Create tos`,
        tabIdentifier: 'create-tos',
        component: EditTermsOfServiceFormComponent,
      },
    ],
  });

  constructor() { }

  ngOnInit(): void {
  }
}
