Sha256: 21cabfac24f96c80ee9be78829f7fa75df881d1f02506011c66d6d10f6ddb2c6
Contents?: true
Size: 521 Bytes
Versions: 4
Compression:
Stored size: 521 Bytes
Contents
<h2>Config</h2> <%= form_tag(admin_configurable_path, :method => :put) do -%> <%- Configurable.defaults.each do |key, options| -%> <%= label_tag key, options[:name] %> <%- if options[:type] == 'password' -%> <%= text_area_tag key, Configurable.send(key) %> <%- elsif options[:type] == 'text' -%> <%= password_field_tag key, Configurable.send(key) %> <%- else -%> <%= text_field_tag key, Configurable.send(key) %> <%- end -%> <%- end -%> <%= submit_tag 'Save' %> <%- end -%>
Version data entries
4 entries across 4 versions & 1 rubygems