<%= field_set_tag template_input_header(f, @template) do %> <%= text_f f, :name, :disabled => @template.locked? %> <%= checkbox_f f, :required, :disabled => @template.locked? %> <%= selectable_f f, :input_type, template_input_types_options, {}, :class => 'input_type_selector without_select2', :disabled => @template.locked? %>
<%= text_f f, :fact_name, :class => 'fact_input_type', :required => true, :disabled => @template.locked? %>
<%= text_f f, :variable_name, :class => 'variable_input_type', :required => true, :disabled => @template.locked? %>
<%= text_f f, :puppet_class_name, :class => 'puppet_parameter_input_type', :required => true, :disabled => @template.locked? %> <%= text_f f, :puppet_parameter_name, :class => 'puppet_parameter_input_type', :required => true, :disabled => @template.locked? %>
<%= checkbox_f f, :advanced, :disabled => @template.locked? %> <%= textarea_f f, :options, :rows => 3, :class => 'user_input_type', :help_inline => _("A list of options the user can select from. If not provided, the user will be given a free-form field"), :disabled => @template.locked? %>
<%= textarea_f f, :description, :rows => 3, :disabled => @template.locked? %> <% end %>