<% block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12') table = cell(:elements, :table, :container).new table_body = cell(:elements, :table, :body).new %> <%=raw block.open %> <%=raw cell(:elements, :title).new(label: LANGUAGES[:lato_blog][:mixed][:languages], size: 6) %> <%=raw table.open %> <%=raw table_body.open %> <% CONFIGS[:lato_blog][:languages].values.each do |language| %> <% if @category.meta_language === language[:identifier] %> <%=raw cell(:elements, :table, :row).new(labels: [language[:title], '']) %> <% elsif @category.get_translation_for_language(language[:identifier]) %> <% language_category = @category.get_translation_for_language(language[:identifier]) %> <%=raw cell(:elements, :table, :row).new(labels: [ language[:title], "#{LANGUAGES[:lato_blog][:mixed][:show]}" ]) %> <% else %> <%=raw cell(:elements, :table, :row).new(labels: [ language[:title], "#{LANGUAGES[:lato_blog][:mixed][:create]}" ]) %> <% end %> <% end %> <%=raw table_body.close %> <%=raw table.close %> <%=raw block.close %>