Code Duplication    Length = 9-12 lines in 2 locations

src/midcom/datamanager/template/base.php 1 location

@@ 55-66 (lines=12) @@
52
        return $string . '</div>';
53
    }
54
55
    public function form_rest(FormView $view, array $data)
56
    {
57
        $string = '';
58
        foreach ($view as $child)
59
        {
60
            if (!$child->isRendered())
61
            {
62
                $string .= $this->renderer->row($child);
63
            }
64
        }
65
        return $string;
66
    }
67
68
    public function widget_attributes(FormView $view, array $data)
69
    {

src/midcom/datamanager/template/form.php 1 location

@@ 110-118 (lines=9) @@
107
        return $this->renderer->widget($view);
108
    }
109
110
    public function toolbar_row(FormView $view, array $data)
111
    {
112
        $string = '<div class="form_toolbar">';
113
        foreach ($view as $child)
114
        {
115
            $string .= $this->renderer->widget($child);
116
        }
117
        return $string . '</div>';
118
    }
119
120
    public function images_row(FormView $view, array $data)
121
    {