Module: ODDB::View::Admin::FachinfoPdfMethods

Included in:
RegistrationForm, ResellerRegistrationForm
Defined in:
src/view/admin/registration.rb

Constant Summary

TAG_METHOD =
:multipart_form

Instance Method Summary (collapse)

Instance Method Details

- (Object) assign_fachinfo(model, session = @session)



139
140
141
142
143
144
145
146
147
# File 'src/view/admin/registration.rb', line 139

def assign_fachinfo(model, session=@session)
  link = HtmlGrid::Link.new(:assign_fachinfo, model, session, self)
  link.href = @lookandfeel.event_url(:assign_fachinfo)
  if(@model.fachinfo)
    link.value = @lookandfeel.lookup(:assign_this_fachinfo)
  end
  link.set_attribute('class', 'small')
  link
end

- (Object) fachinfo_upload(model, session = @session)



148
149
150
151
152
# File 'src/view/admin/registration.rb', line 148

def fachinfo_upload(model, session=@session)
  input = HtmlGrid::InputFile.new(:fachinfo_upload, model, session, self)
  input.label = false
  input
end

- (Object) language_select(model, session = @session)



153
154
155
156
157
158
# File 'src/view/admin/registration.rb', line 153

def language_select(model, session=@session)
  sel = View::Admin::FachinfoLanguageSelect.new(:language_select, model, 
    session, self)
  sel.label = false
  sel
end