class Task::CreatePage
- Task::CreatePage
- MainLayout
- Reference
- Object
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.crConstant 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
toTask::CheckPage
.
Constructors
-
.new(context : HTTP::Server::Context, operation : SaveTranscompileTask, current_user : User | Nil = nil, output : String = "Output", **unused_exposures)
Page for createing a
TranscompileTask
.
Instance Method Summary
Instance methods inherited from class MainLayout
content
content,
current_user
current_user,
page_title
page_title,
render
render
Constructor Detail
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
.