Borges::InputDialog (Class)

In: lib/Borges/Component/Dialog/InputDialog.rb
Parent: Object

An InputDialog displays as a simple form with a message, a text box, and a label. When the button is clicked, the InputDialog returns the value in the text box to the calling controller.

Methods

Attributes

value  [W]  For text_input_on

Public Class methods

Creates a new input dialog displaying message as a heading, and providing them with an input box with the initial value of value, and a submit button labeled label.

Public Instance methods

Renders the input dialog.

[Validate]