Sha256: b91b35cec74356a9549340afb30c8c97b2671aecaec09ce546798635f248608d
Contents?: true
Size: 1.34 KB
Versions: 53
Compression:
Stored size: 1.34 KB
Contents
#preferences.box - render_region :user do |user| - user.preferences do %h3 = t('personal_preferences') %p.ruled %label = t('name') %span = current_user.name %p.ruled %label = t('email_address') %span.uri = current_user.email %p.ruled %label = t('password') %big ••••• %p.ruled %label = t('language') %span = current_user.locale .actions = button_to t("edit_preferences"), edit_admin_user_path(current_user), :method => :get #config.box - render_region :trusty_config do |config| - config.site do %h3 Configuration - TrustyCms.config.site_settings.each do |site_setting| %p.ruled = show_config site_setting, :class => (site_setting =~ /host$/ ? 'uri' : nil) - config.defaults do %h4 Defaults - TrustyCms.config.default_settings.each do |default_setting| %p.ruled = show_config default_setting - config.users do %h4 Passwords - TrustyCms.config.user_settings.each do |user_setting| %p.ruled = show_config user_setting - if current_user.admin? .actions = button_to t("edit_configuration"), edit_admin_configuration_path, :method => :get
Version data entries
53 entries across 53 versions & 1 rubygems