<commit_before><?php
namespace Companies20\Form;

class MediaForm extends \Nette\Application\UI\Form
{


	public function __construct(\Nette\ComponentModel\IContainer $parent, $name)
	{
		parent::__construct($parent, $name);
		$this->addText('url', 'URL:')
			->setRequired('Need URL');
		$this->addText('title', 'Title:')
			->setRequired('Need title');
		$this->addText('published', 'Date:')
			->setRequired('Need date of publishing');
		$field = new \Bare\Next\Forms\Controls\HiddenFieldWithLabel('Tags:');
		$field->setHtmlId('tags');
		$this->addComponent($field, 'tags');
		$this->addSubmit('submit', 'Add');
	}


}<commit_msg>Title and date are not required anymore<commit_after><?php
namespace Companies20\Form;

class MediaForm extends \Nette\Application\UI\Form
{


	public function __construct(\Nette\ComponentModel\IContainer $parent, $name)
	{
		parent::__construct($parent, $name);
		$this->addText('url', 'URL:')
			->setRequired('Need URL');
		$this->addText('title', 'Title:');
		$this->addText('published', 'Date:');
		$field = new \Bare\Next\Forms\Controls\HiddenFieldWithLabel('Tags:');
		$field->setHtmlId('tags');
		$this->addComponent($field, 'tags');
		$this->addSubmit('submit', 'Add');
	}


}
{'fraction_non_alphanumeric': 0.1985233798195242, 'fraction_numerical': 0.003281378178835111, 'mean_word_length': 5.666666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5184766', 'n_tokens_mistral': 431, 'n_tokens_neox': 403, 'n_words': 72}