@classmethod
def get_html_template(cls):
    """Create a generic angular HTML template for configuring the
        vendor's login from the settings information.
        """
    template = """
        	<fieldset>
            """
    sinfo = cls.info.get('angular', {})
    settings = cls.info.get('settings', [])
    for setting in settings:
        info = sinfo.get(setting, {})
        label = info.get('label', setting)
        placeholder = info.get('placeholder', label)
        htype = info.get('type', 'text')
        template += (
            """
        		<div class="form-group">
        			<label for="%s" class="control-label">%s</label>
        			<div>
        			  <input required type="%s" class="form-control"
        			  		id="username" placeholder="%s"
        					ng-model="v.settings.%s">
        			</div>
        		</div>
            """
             % (setting, label, htype, placeholder, setting))
    template += """
        	</fieldset>
        """
    return template
