<% @telegram_chats.each do |telegram_chat| %> <% end %>
<%= TelegramChat.human_attribute_name :id %> <%= TelegramChat.human_attribute_name :remote_id %> <%= TelegramChat.human_attribute_name :chat_type %> <%= TelegramChat.human_attribute_name :title %> <%= TelegramChat.human_attribute_name :username %> <%= TelegramChat.human_attribute_name :first_name %> <%= TelegramChat.human_attribute_name :last_name %>
<%= telegram_chat.id %> <%= telegram_chat.remote_id %> <%= telegram_chat.chat_type %> <%= truncate telegram_chat.title, length: 20 %> <%= truncate telegram_chat.username, length: 20 %> <%= truncate telegram_chat.first_name, length: 20 %> <%= truncate telegram_chat.last_name, length: 20 %> <% if policy(telegram_chat).show? %> <%= link_to telegram_chat_path(telegram_chat), role: :button, class: 'btn btn-light btn-sm' do %> <% end %> <% end %>