use parent qw(SL::Controller::Base);
use SL::DB::RequirementSpecType;
-use SL::DB::Language;
use SL::Helper::Flash;
use SL::Locale::String;
sub action_new {
my ($self) = @_;
- $self->{requirement_spec_type} = SL::DB::RequirementSpecType->new;
+ $self->{requirement_spec_type} = SL::DB::RequirementSpecType->new(template_file_name => 'requirement_spec');
$self->render('requirement_spec_type/form', title => t8('Create a new requirement spec type'));
}
SL::DB::RequirementSpecType->reorder_list(@{ $::form->{requirement_spec_type_id} || [] });
- $self->render('1;', { type => 'js', inline => 1 });
+ $self->render(\'', { type => 'json' });
}
#