Main Avalanche Network server application. Built with Ruby on Rails.

show.html.erb 881B

    <% title @blog_post.title + " - " + @config.website_name %> <%= content_tag(:div, class: 'container top-container') do %> <%= content_tag(:div, class: 'row') do %> <%= content_tag(:div, class: 'span12') do %> <%= bootstrap_flash %> <% # Page Content %> <div class="page-header"> <h1><%= @blog_post.title %></h1> <small><%= t "blog.by" %> <%= @blog_post.author.full_name %>, <%= time_ago_in_words(@blog_post.created_at) %> <%= t "blog.ago" %></small> </div> <%= @blog_post.content.html_safe %> <div style="margin-top: 40px; text-align: center;"> <%= link_to (t "nav.edit"), edit_blog_post_path(@blog_post), :class => 'btn btn-small', :id => ['edit_' + @blog_post.slug] if user_signed_in? %> <%= link_to (t "nav.back"), blog_path, :class => 'btn btn-small' %> </div> <% # End of Page Content %> <% end %> <% end %> <% end %>