Sha256: 0ec7d11c886029bc857eca15732b7c7e9b238ce5c9661ba8e198a3da23185217
Contents?: true
Size: 846 Bytes
Versions: 14
Compression:
Stored size: 846 Bytes
Contents
- if auth.configurable? %form %table - if auth.configurable.include?(:subdomain) %tr %td %label= "Subdomain: " %td - if auth.subdomains.any? - if auth.subdomains.size > 1 %select{ name: 'subdomain' } - auth.subdomains.each do |subdomain| %option{ value: subdomain }= subdomain - else = auth.subdomains.first %input{ type: 'hidden', name: 'subdomain', value: auth.subdomains.first } - else %input{ type: 'text', name: 'subdomain', value: '' } - (auth.configurable - [:subdomain]).each do |attr| %tr %td %label= "#{attr.capitalize}: " %td %input{ type: 'text', name: attr, value: '' }
Version data entries
14 entries across 14 versions & 1 rubygems