<% if (props.hasInput) { %> <%= include(templateIncs._inputField).trim() %> <% } %> <% if (props.hasSelectOption) { %> <%= include(templateIncs._selectField).trim() %> <% } %> <% if (props.hasTextarea) { %> <%= include(templateIncs._textareaField).trim() %> <% } %> <% if (props.authentication !== 'none') { %> <% if (props.authentication === 'basic') { %> <%= include(templateIncs._inputField, {props: {hasInput: true, inputName: 'username', inputLabel: 'Username'}}).trim() %> <% } %> <%= include(templateIncs._inputField, {props: {hasInput: true, inputName: 'password', inputLabel: 'Password or token'}}).trim() %> <% } %> <% if (!props.hasInput && !props.hasSelectOption && !props.hasTextarea && props.authentication === 'none') { %>

If your connector requires user interaction, you need a form here.

<% } %>