Esempio n. 1
0
 /**
  * @inheritdoc
  */
 protected function generateSubmit(Form $form)
 {
     $image = $this->asset->baseUrl . '/banks/' . strtolower($form->getProviderTag()) . '.jpg';
     return Html::input('image', $form->getProviderName(), null, ['src' => $image]);
 }
Esempio n. 2
0
 /**
  * @param Form $form
  * @return string
  */
 protected function generateSubmit(Form $form)
 {
     return Html::submitButton($form->getProviderName());
 }