Sha256: c654878562b1a5d3a274c3da9e8a84b543b2eb87e749eed2f67b09a7c6209c9b

Contents?: true

Size: 896 Bytes

Versions: 1

Compression:

Stored size: 896 Bytes

Contents

.page-header
  h1
    span = "#{Meta2::Setting.model_name.human}管理"
    small.pull-right = link_to I18n.t('meta2.setting.new'), new_setting_path(section: params[:section]), class: 'btn btn-default'

ul.nav.nav-tabs
  - Meta2::Setting.app_names.each do |app_name|
    li role="presentation" class="#{'active' if app_name == app_name_from_session}" = link_to app_name, change_app_settings_path(app_name: app_name), method: :post


table.table.table-borderd
  tr
    th = select_tag :section, options_for_select(I18n.t('meta2.setting.sections').to_hash.invert, selected: params[:section].presence || 'parts'), class: 'form-control', id: :meta2_activerecord_section_selecter, data: {path: settings_path}
    th = cm 'meta2/setting.path'
    th = cm 'meta2/setting.name'
    th = cm 'meta2/setting.value'
    th = cm 'meta2/setting.note'
    th
  = render partial: 'record', collection: @settings

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meta2-0.0.2 app/views/meta2/settings/index.html.slim