<script type="text/x-handlebars-template" id="mapsvg-data-tmpl-radio-view">
  <div class="form-group mb-3 row {{#unless visible}}mapsvg-hidden{{/unless}}">
        <label class="col-sm-3 col-form-label with-name">{{label}} <div class="field-name">{{_name}}</div></label>

        <div class="col-sm-9">
            {{#each options}}
                <div class="form-check {{#if ../readonly}}disabled{{/if}}">
                    <input id="{{../name}}_{{value}}" class="form-check-input" type="radio" name="{{../name}}" value="{{value}}" {{#ifeq value ../value}}checked{{/ifeq}} {{#if ../readonly}}disabled="disabled"{{/if}} {{#if premium}}disabled="disabled"{{/if}}>
                    <label class="form-check-label" for="{{../name}}_{{value}}">{{label}}</label>
                    {{#if premium}}
                          {{premiumFeatureAlert}}
                    {{/if}}
                </div>
            {{/each}}
            {{#if readonly}}
                <input type="hidden" name="{{name}}" value="{{value}}" />
            {{/if}}

            <p class="form-text">{{help}}</p>
        </div>
    </div>
</script>
