Commit 3f6e43bf authored by Martin Gregor's avatar Martin Gregor
Browse files

uprava admin formulara

parent 3891634a
......@@ -10,3 +10,4 @@ vendor/*
!.gitignore
!.htaccess
!web.config
exclude-list.txt
......@@ -19,12 +19,15 @@ class AdminPresenter extends BasePresenter
{
$form = new UI\Form;
$form->addText('sentence', 'Veta:')
->setAttribute('placeholder','Sem napíšte vetu.');
->setAttribute('placeholder','Sem napíšte vetu.')
->setAttribute('class','form-control');
$form->addText('url', 'sme.sk URL:')
->setAttribute('placeholder','http://www.sme.sk/c/7054947/vydajte-ujgurov-su-to-teroristi-odkazuje-slovensku-cina.html');
->setAttribute('placeholder','http://www.sme.sk/c/7054947/vydajte-ujgurov-su-to-teroristi-odkazuje-slovensku-cina.html')
->setAttribute('class','form-control');
$form->addTextArea('paragraph', 'Text:')
->setAttribute('placeholder', 'Sem napíšte vety, ktoré chcete importovať do systému.');
->setAttribute('placeholder', 'Sem napíšte vety, ktoré chcete importovať do systému.')
->setAttribute('class','form-control');
$form->addSubmit('send', 'Parsovať/Vložiť')->setAttribute('class','btn btn-success');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment