Sha256: ee47adb0e2ced278827aecb7f89405a404cffd50f083ed8e3f5df8b46b0b4d6e

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

<li class='clearfix record <%= cycle("on", "on-hover") %>'>
  <span class='title'>
    <%= t(setting.name, :scope => 'refinery.admin.settings.form.title', :default => setting.title) %>
    <span class="preview">- <%= truncate(setting.value.to_s, :length => 40) %></span>
  </span>
  <span class='actions'>
    <%= link_to refinery_icon_tag('application_edit.png'),
                refinery.edit_admin_setting_path(setting, :dialog => true, :width => 725, :height => 525),
                :title => t('edit', :scope => 'refinery.admin.settings') %>
    <%= link_to refinery_icon_tag('delete.png'),
                refinery.admin_setting_path(setting),
                :class => 'cancel confirm-delete',
                :title => t('delete', :scope => 'refinery.admin.settings'),
                :confirm => t('message', :scope => 'refinery.admin.delete', :title => setting.title),
                :method => :delete if setting.destroyable %>

    <% unless (help = t(setting.name, :scope => 'refinery.admin.settings.form.help', :default => '')).blank? %>
      <%= link_to refinery_icon_tag('information.png'), '#',
                  :tooltip => help,
                  :class => 'information suppress' %>
    <% end %>
  </span>
</li>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-settings-2.0.1 app/views/refinery/admin/settings/_setting.html.erb
refinerycms-settings-2.0.0 app/views/refinery/admin/settings/_setting.html.erb