Sha256: dc64759860f4543c27b075e9be31af354b831bc7cf4dd16bc11e014fad9c9a01

Contents?: true

Size: 307 Bytes

Versions: 6

Compression:

Stored size: 307 Bytes

Contents

%h1= @category.present? ? t("lookups.category.#{@category}") : 'Тексты'

= table_for(Lookup).content(@lookups) do |t|
  - t.column :code, cols: 4, format: lambda {|e| lookup_name(e)}
  - t.column :self, cols: 7, format: ->(lookup){ format_lookup(lookup) }, title: 'Значение'
  - t.action :edit

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
coalla-cms-0.7.0.0 app/views/admin/lookups/index.html.haml
coalla-cms-0.5.2.4 app/views/admin/lookups/index.html.haml
coalla-cms-0.6.1.1 app/views/admin/lookups/index.html.haml
coalla-cms-0.6.0.9 app/views/admin/lookups/index.html.haml
coalla-cms-0.5.1.9 app/views/admin/lookups/index.html.haml
coalla-cms-0.5.1.8 app/views/admin/lookups/index.html.haml