class Task::CreatePage

Overview

Page for createing a TranscompileTask.

The user is given an input textarea for entering his code and two drop down menus for choosing the input and output language. When pressing the "Go!" button the user is redirected via Task::SaveForm to Task::CheckPage.

Defined in:

pages/task/create_page.cr

Constant Summary

ASSIGNS = [context : HTTP::Server::Context, current_user : User | ::Nil, operation : SaveTranscompileTask, output : String = "Output"] of Nil

Page for createing a TranscompileTask.

The user is given an input textarea for entering his code and two drop down menus for choosing the input and output language. When pressing the "Go!" button the user is redirected via Task::SaveForm to Task::CheckPage.

Constructors

Instance Method Summary

Instance methods inherited from class MainLayout

content content, current_user current_user, page_title page_title, render render

Constructor Detail

def self.new(context : HTTP::Server::Context, operation : SaveTranscompileTask, current_user : User | Nil = nil, output : String = "Output", **unused_exposures) #

Page for createing a TranscompileTask.

The user is given an input textarea for entering his code and two drop down menus for choosing the input and output language. When pressing the "Go!" button the user is redirected via Task::SaveForm to Task::CheckPage.


Instance Method Detail

def content #

[View source]
def operation : SaveTranscompileTask #

def output : String #