Remove obsolete file

This commit is contained in:
Fabien Potencier 2020-08-18 09:41:32 +02:00
parent 8b78ad3a72
commit 2ae1541ab7

View File

@ -1,14 +0,0 @@
<?php if ($widget == 'single_text'): ?>
<?php echo $view['form']->block($form, 'form_widget_simple'); ?>
<?php else: ?>
<?php $vars = $widget == 'text' ? ['attr' => ['size' => 1]] : [] ?>
<div <?php echo $view['form']->block($form, 'widget_container_attributes') ?>>
<?php
// There should be no spaces between the colons and the widgets, that's why
// this block is written in a single PHP tag
echo $view['form']->widget($form['year'], $vars);
echo '-';
echo $view['form']->widget($form['week'], $vars);
?>
</div>
<?php endif ?>