Sha256: 17b539df28e547a3dabf8b6a56b4cb525b4766f638ea75cf983d0039c2fc9c19

Contents?: true

Size: 793 Bytes

Versions: 5

Compression:

Stored size: 793 Bytes

Contents

<div class="ultra-settings-nav">
  <form onsubmit="return false" style="margin-bottom: 0.5rem;">
    <select class="<%= html_escape(select_class) %>" size="1" id="config-selector">
      <% UltraSettings.__configuration_names__.sort.each do |name| %>
        <option value="config-<%= html_escape(name) %>"><%= html_escape(UltraSettings.send(name).class.name) %></option>
      <% end %>
    </select>
  </form>
</div>

<% UltraSettings.__configuration_names__.sort.each do |name| %>
  <% configuration = UltraSettings.send(name) %>

  <div class="ultra-settings-configuration" id="config-<%= html_escape(name) %>" style="display:none;">
    <%= UltraSettings::ConfigurationView.new(configuration).render(table_class: table_class) %>
  </div>
<% end %>

<script>
  <%= javascript %>
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ultra_settings-2.4.0 app/index.html.erb
ultra_settings-2.3.0 app/index.html.erb
ultra_settings-2.2.0 app/index.html.erb
ultra_settings-2.1.0 app/index.html.erb
ultra_settings-2.0.0 app/index.html.erb