class Versions::ComparePage

Defined in:

pages/versions/compare_page.cr

Constant Summary

ASSIGNS = [context : HTTP::Server::Context, diff : String, from : String, to : String] of Nil

Constructors

Instance Method Summary

Instance methods inherited from class MainLayout

content content, page_title page_title, render render

Constructor Detail

def self.new(context : HTTP::Server::Context, diff : String, from : String, to : String, **unused_exposures) #

Instance Method Detail

def arrow_icon #

[View source]
def commit_log_button #

[View source]
def compare_button #

[View source]
def content #

[View source]
def diff : String #

def from : String #

def page_title #
Description copied from class MainLayout

The default page title. It is passed to Shared::LayoutHead.

Add a #page_title method to pages to override it. You can also remove This method so every page is required to have its own page title.


[View source]
def to : String #

def version_picker(*, input_name, selected_version) #

[View source]