release-toggle.html.twig 647 B

123456789
  1. <form id="gpm-release-toggle">
  2. <div class="switch-toggle switch-grav" data-url="{{ base_url }}/ajax.json/task:gpmRelease">
  3. <input type="radio" value="stable" id="stable" name="channel-switch" class="highlight" {% if config.system.gpm.releases == 'stable' %} checked="checked"{% endif %}>
  4. <label for="stable">{{ "PLUGIN_ADMIN.STABLE"|tu }}</label>
  5. <input type="radio" value="testing" id="testing" name="channel-switch" class="highlight" {% if config.system.gpm.releases == 'testing' %} checked="checked"{% endif %}>
  6. <label for="testing">{{ "PLUGIN_ADMIN.TESTING"|tu }}</label>
  7. <a></a>
  8. </div>
  9. </form>