Project

General

Profile

« Previous | Next » 

Revision 989e0aad

Added by Leos Stejskal almost 3 years ago

Fixes #32822 - Job templates and resource picker

New `resource` user input type for templates with
template macro `input_resource` returning the resource object

View differences:

app/models/template_input.rb
class UnsatisfiedRequiredInput < ::Foreman::Exception
end
VALUE_TYPE = ['plain', 'search', 'date']
VALUE_TYPE = ['plain', 'search', 'date', 'resource']
attr_exportable(:name, :required, :input_type, :description,
:options, :advanced, :value_type, :resource_type, :default, :hidden_value)

Also available in: Unified diff