class Mobile::EditFormFieldsComponent

Defined in:

components/mobile/edit_form_fields_component.cr

Constant Summary

ASSIGNS = [context : HTTP::Server::Context, contact : Contact, update_contact : UpdateContact, saved : Bool = false] of Nil

Constructors

Instance Method Summary

Instance methods inherited from class BaseHXMLComponent

android? : Bool android?, ios? : Bool ios?

Constructor Detail

def self.new(context : HTTP::Server::Context, contact : Contact, update_contact : UpdateContact, saved : Bool = false, **unused_exposures) #

Instance Method Detail

def contact : Contact #

def render #
Description copied from class LuckyHXML::Component

Render HXML without a block

NOTE Must override to use


[View source]
def render_form_field(attr, value, **field_opts) #

[View source]
def saved? : Bool #

def update_contact : UpdateContact #