Sha256: 4553ebc31cf3263d77bd816af7e2c5b9e5c256ad0785faa12a94d6932abbd531
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
<% block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12 posts__index') table = cell(:elements, :table, :container).new table_head = cell(:elements, :table, :head).new(labels: [ LANGUAGES[:lato_blog][:forms][:title], LANGUAGES[:lato_blog][:forms][:language], LANGUAGES[:lato_blog][:forms][:publication] ]) table_body = cell(:elements, :table, :body).new %> <%=raw block.open %> <% title = '' title = LANGUAGES[:lato_blog][:mixed][:published_posts] if status && status === 'published' title = LANGUAGES[:lato_blog][:mixed][:drafted_posts] if status && status === 'drafted' title = LANGUAGES[:lato_blog][:mixed][:deleted_posts] if status && status === 'deleted' %> <%=raw cell(:elements, :title).new(label: title, size: 6) %> <%=raw cell(:widgets, :index).new(records: @widget_index_posts, index_url: lato_blog.posts_path(status: @posts_status), head: [LANGUAGES[:lato_blog][:forms][:title], LANGUAGES[:lato_blog][:forms][:language]], columns: ['title', 'get_pretty_language'], actions: {show: true, new: true, delete: (@posts_status === 'deleted')}, search: true, pagination: true) %> <%=raw block.close %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lato_blog-2.1.1 | app/views/lato_blog/back/posts/shared/index/_index.html.erb |
lato_blog-2.1 | app/views/lato_blog/back/posts/shared/index/_index.html.erb |