Sha256: 637ce434f4455575f63ea60eaae72b13b642d9b91fb7af3221efcbcd76f87ec6
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
<div class="border-b border-gray-200 flex items-center justify-between space-x-8 pr-2"> <%= link_to spina.edit_admin_conferences_blog_post_path(post.id), class: 'flex items-center text-spina text-sm p-4 hover:text-spina-dark font-medium' do %> <% if post.featured? %> <%= heroicon('star', style: :solid, class: 'w-6 h-6 text-yellow-500 mr-3') %> <% end %> <div> <%= post.title %> <div class="text-gray-400 text-xs"><%= time_ago_in_words(post.created_at) %> ago</div> </div> <% end %> <div class="flex-1"></div> <div> <% if post.draft? %> <span class="text-sm text-gray-400"><%=t 'spina.blog.posts.concept' %></span> <% elsif post.published_at and post.published_at > Time.now %> <span class="text-sm text-gray-400"> Will be published on <%= post.decorate.published_date %> </span> <% end %> </div> <div> <%= link_to spina.edit_admin_conferences_blog_post_path(post.id), class: "btn btn-default px-3" do %> <%= heroicon('pencil', style: :solid, class: 'w-4 h-4') %> <% end %> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems