{@inhericDoc}
@see \MyArtJaub\Webtrees\Mvc\View\AbstractView::renderContent()
553311
protected function renderContent() {      
        ?>                
        <div id="maj-sosa-list-page" class="center">
			<h2><?php echo $this->data->get('title'); ?></h2>
			
			<?php  if($this->data->get('is_setup')) { 
			    $selectedgen = $this->data->get('generation');
			    $this->renderSosaHeader();
			    if($this->data->get('has_sosa') ) {
			         if($selectedgen > 0) {
			        ?>
			<div id="sosalist-tabs">
				<ul>
					<li><a href="#sosalist-indi"><?php echo I18N::translate('Individuals'); ?></a></li>
					<li><a href="#sosalist-fam"><?php echo I18N::translate('Families'); ?></a></li>
				</ul>
				
				<div id="sosalist-indi">
					<div id="loading-indi" class="loading-image">&nbsp;</div>
					<div id="sosalist-indi-data" class="center"></div>
				</div>

				<div id="sosalist-fam">
					<div id="loading-fam" class="loading-image">&nbsp;</div>
					<div id="sosalist-fam-data"></div>
				</div>
			</div>
			<?php        } else { ?>
			<p class="warning"><?php echo I18N::translate('No ancestor has been found for generation %d', $selectedgen); ?></p>
			<?php    }
			    }
			} else { ?>
			<p class="warning"><?php echo I18N::translate('The list could not be displayed. Reasons might be:'); ?><br/>
				<ul>
					<li><?php echo I18N::translate('No Sosa root individual has been defined.'); ?></li>
					<li><?php echo I18N::translate('The Sosa ancestors have not been computed yet.'); ?></li>
				</ul>
			</p>
			<?php } ?>
		</div> 
		<?php 
    }
1292048
public function content()
    {
        if ($this->app->getMatchRoute()) {
            $actionName = strtolower(preg_replace('/(?<=\d)(?=[A-Za-z])|(?<=[A-Za-z])(?=\d)|(?<=[a-z])(?=[A-Z])/', '-', $this->app->getActionName()));

            $fileArray = [
                strtolower($this->app->getModuleName()),
                str_replace('controller', '', strtolower($this->app->getControllerName())),
                $actionName . '.phtml'
            ];

            $file = implode('/', $fileArray);
        } else {
            $viewManager = $this->config->get('view_manager');
            $file = $viewManager['template_map']['error/404'];
        }

        $this->render($file);
    }
606962
final public function render($content = null) {
        if ($content === null) {
            foreach ($this->view->getVariables() as $var => $val) {
                $$var = $val;
            }

            $viewFile = $this->view->getViewFile();
            if (!is_readable(MODULES . $viewFile[0] . DIRECTORY_SEPARATOR . 'View' .
                            DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR .
                            $viewFile[1] . DIRECTORY_SEPARATOR . $viewFile[2] . '.phtml'))
                throw new Exception('View layout "' . join(DIRECTORY_SEPARATOR, $viewFile) . '" not found');

            // include action view
            ob_start();

            include_once MODULES . $viewFile[0] . DIRECTORY_SEPARATOR . 'View' .
                    DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR .
                    $viewFile[1] . DIRECTORY_SEPARATOR . $viewFile[2] . '.phtml';

            $content = ob_get_clean();
            if (!$this->view->isPartial()) {
                // include controller layout
                $controllerLayout = self::getLayoutPath();
                if ($controllerLayout) {
                    ob_start();
                    include_once $controllerLayout;

                    $content = ob_get_clean();
                }
                else if (engineGet('config', 'defaults', 'defaultLayout', false)) {
                    ob_start();
                    $this->loadLayout(engineGet('config', 'defaults', 'defaultLayout'), array('content' => $content));
                    $content = ob_get_clean();
                }
                else {
                    throw new Exception('No layout found.');
                }
            }
        }
        else {
            if (!$errorLayout = engineGet('config', 'modules', $this->view->getModule(), 'defaults', 'errorLayout', false)) {
                if (!$errorLayout = engineGet('config', 'defaults', 'errorLayout', false)) {
                    throw new Exception('Error layout not found', true);
                }
            }

            if (is_array($errorLayout)) {
                if (!array_key_exists('guest', $errorLayout))
                    throw new Exception('Error layout not found for "guest"', true);

                if (array_key_exists($this->userIdentity()->getUser()->getRole(), $errorLayout))
                    $errorLayout = $errorLayout[$this->userIdentity()->getUser()->getRole()];
                else
                    $errorLayout = $errorLayout['guest'];
            }

            ob_start();
            $this->loadLayout($errorLayout, array_merge(array('content' => $content), $this->view->getVariables()));
            $content = ob_get_clean();
        }
        echo($content);
    }
370090
protected function _renderContent($data)
    {
        $options = $data['options'];

        if ($options instanceof Traversable) {
            $options = iterator_to_array($options);
        }

        if (!empty($data['empty'])) {
            $options = $this->_emptyValue($data['empty']) + (array)$options;
        }
        if (empty($options)) {
            return [];
        }

        $selected = isset($data['val']) ? $data['val'] : null;
        $disabled = null;
        if (isset($data['disabled']) && is_array($data['disabled'])) {
            $disabled = $data['disabled'];
        }
        $templateVars = $data['templateVars'];

        return $this->_renderOptions($options, $disabled, $selected, $templateVars, $data['escape']);
    }
867558
protected function renderContents()
	{
		// We will keep track of the amount of views being rendered so we can flush
		// the section after the complete rendering operation is done. This will
		// clear out the sections for any separate views that may be rendered.
		$this->environment->incrementRender();

		$this->environment->callComposer($this);

		$contents = $this->getContents();

		// Once we've finished rendering the view, we'll decrement the render count
		// so that each sections get flushed out next time a view is created and
		// no old sections are staying around in the memory of an environment.
		$this->environment->decrementRender();

		return $contents;
	}
108130
public static function renderStatic(
        array $arguments,
        \Closure $renderChildrenClosure,
        RenderingContextInterface $renderingContext
    ) {
        $name = $arguments['name'];
        $pageRenderer = self::getPageRenderer();
        
        $fileNameFromArguments = $arguments['file'];
        if ($fileNameFromArguments) {
            $scriptPath = GeneralUtility::makeInstance(FilePathSanitizer::class)->sanitize($fileNameFromArguments);
            $pageRenderer->addJsFooterLibrary($name, $scriptPath);
        }
        else {
            $content = $renderChildrenClosure();
            $pageRenderer->addJsFooterInlineCode($name, $content);
        }

        return '';
    }
1169320
public function renderContent()
    {
        if ($this->renderTitle) {
            $this->encodeContent = false;
        }
        if ($this->image === null) {
            $title = $this->renderTitle();
        } else {
            $title = '';
        }
        return Html::tag(
            'div',
            $this->encodeContent ? Html::encode($title . $this->content) : $title . $this->content,
            ['class' => 'card-content']
        );
    }
677801
protected function renderContent()
  {
    if(!is_null($this->module))
    {
      $categories = Categories::getOptions($this->module);
      foreach($categories as $key=>$value)
      {
        echo Html::a(strtoupper(Html::encode($value)), array($this->target,'category'=>$key,'reference'=>Html::encode($value)), array('class'=>$this->linkclass))
        ." // \n";
      }
    }
    else
    {
      echo " ";
    }
  }
460176
protected function renderContents() {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();

        $contents = $this->getContents();

        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();

        return $contents;
    }
1014352
public function render()
        {
            // If the content is a stringable object, we'll go ahead and call
            // the toString method so that we can get the string content of
            // the content object. Otherwise we'll just cast to string.
            if (str_object($this->content)) {
                $this->content = $this->content->__toString();
            } else {
                $this->content = (string) $this->content;
            }

            // Once we obtain the string content, we can set the content on
            // the HttpFoundation's Response instance in preparation for
            // sending it back to client browser when all is finished.
            $this->foundation->setContent($this->content);

            return $this->content;
        }
962921
public function renderContent()
    {
        if (is_object($this->content) && !method_exists($this->content, '__toString')) {
            throw new \LogicException('Cannot render content: it is an object without __toString method!');
        }

        if (is_array($this->content)) {
            throw new \LogicException('Cannot render content: it is an array!');
        }

        return (string) $this->content;
    }
54457
protected function renderContent() {      
        ?>                
        <div id="maj-sosa-stats-page">
			<h2><?php echo $this->data->get('title'); ?></h2>
			
			<?php 
			/** @var \Fisharebest\Webtrees\Individual $root_indi */
			$root_indi = $this->data->get('root_indi');
			if($root_indi !== null && $root_indi->canShowName()) { ?>
			<h4 class="center"><?= I18N::translate('%s: %s', I18N::translate('Root individual'), $root_indi->getFullName()); ?><h4>
			<?php } ?>
			
			<?php  if($this->data->get('is_setup')) {  
			    $general_stats = $this->data->get('general_stats'); ?>
			<h3><?php echo I18N::translate('General statistics'); ?></h3>
			<div class="maj-table">
				<div class="maj-row">
					<div class="label"><?php echo I18N::translate('Number of ancestors'); ?></div>
					<div class="value"><?php echo I18N::number($general_stats['sosa_count']); ?></div>
				</div>
				<div class="maj-row">
					<div class="label"><?php echo I18N::translate('Number of different ancestors'); ?></div>
					<div class="value"><?php echo I18N::number($general_stats['distinct_count']); ?></div>
				</div>
				<div class="maj-row">
					<div class="label"><?php echo I18N::translate('%% of ancestors in the base'); ?></div>
					<div class="value"><?php echo I18N::percentage($general_stats['sosa_rate'], 1); ?></div>
				</div>
				<div class="maj-row">
					<div class="label"><?php echo I18N::translate('Pedigree collapse'); ?></div>
					<div class="value"><?php echo I18N::percentage($general_stats['pedi_collapse'], 2); ?></div>
				</div>
				<div class="maj-row">
					<div class="label"><?php echo I18N::translate('Mean generation time'); ?></div>
					<div class="value"><?php echo I18N::plural('%s year', '%s years', $general_stats['mean_gen_time'],  I18N::number($general_stats['mean_gen_time'], 1)); ?></div>
				</div>
			</div>
			
			<h3><?php echo I18N::translate('Statistics by generations'); ?></h3>
			<table class="maj-table">
				<thead>
					<tr class="maj-row">
						<th class="label" colspan="2" >&nbsp;</th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Theoretical number of ancestors in generation G.'); ?>">
							<?php  echo I18N::translate('Theoretical'); ?>
						</th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Number of ancestors found in generation G. A same individual can be counted several times.'); ?>">
							<?php  echo I18N::translate('Known'); ?>
						</th>				
						<th class="label help_tooltip" title="<?php echo I18N::translate('Ratio of found ancestors in generation G compared to the theoretical number.'); ?>">
							<?php  echo I18N::translate('%'); ?>
						</th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Number of ancestors not found in generation G, but whose children are known in generation G-1.'); ?>">
							<?php  echo I18N::translate('Losses G-1'); ?>
						</th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Ratio of not found ancestors in generation G amongst the theoretical ancestors in this generation whose children are known in generation G-1. This is an indicator of the completion of a generation relative to the completion of the previous generation.'); ?>">
							<?php  echo I18N::translate('%'); ?>
						</th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Cumulative number of ancestors found up to generation G. A same individual can be counted  several times.'); ?>">
							<?php  echo I18N::translate('Total known'); ?>
						</th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Ratio of cumulative found ancestors in generation G compared to the cumulative theoretical number.'); ?>">
						<?php  echo I18N::translate('%'); ?></th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Number of distinct ancestors found in generation G. A same individual is counted only once.'); ?>">
						<?php  echo I18N::translate('Different'); ?></th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Ratio of distinct individuals compared to the number of ancestors found in generation G.'); ?>">
						<?php  echo I18N::translate('%'); ?></th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Number of cumulative distinct ancestors found up to generation G. A same individual is counted only once in the total number, even if present in different generations.'); ?>">
						<?php  echo I18N::translate('Total Different'); ?></th>
						<th class="label help_tooltip" title="<?php echo I18N::translate('Pedigree collapse at generation G. Pedigree collapse is a measure of the real number of ancestors of a person compared to its theorical number. The higher this number is, the more marriages between related persons have happened. Extreme examples of high pedigree collapse are royal families for which this number can be as high as nearly 90%% (Alfonso XII of Spain).'); ?>">
						<?php  echo I18N::translate('Pedigree collapse'); ?></th>
					</tr>
				</thead>
				<tbody>
					<?php foreach($this->data->get('generation_stats') as $gen => $row) { ?>
					<tr class="maj-row">
						<td class="label"><?php echo I18N::translate('<strong>G%d</strong>', $gen); ?></td>
						<td class="label"><?php echo I18N::translate('%1$s <> %2$s', $row['gen_min_birth'], $row['gen_max_birth']); ?></td>
						<td class="value"><?php echo I18N::number($row['theoretical']); ?></td>
						<td class="value"><?php echo $row['known'] > 0 ? '<a href="'.$this->data->get('sosaanc_url').$gen.'">'.I18N::number($row['known']).'</a>' : I18N::number($row['known']); ?></td>
						<td class="value"><?php echo I18N::percentage($row['perc_known'], 2); ?></td>
						<td class="value"><?php echo $row['missing'] > 0 ? '<a href="'.$this->data->get('missinganc_url').$gen.'">'.I18N::number($row['missing']).'</a>' : I18N::number($row['missing']); ?></td>
						<td class="value"><?php echo I18N::percentage($row['perc_missing'], 2); ?></td>
						<td class="value"><?php echo I18N::number($row['total_known']); ?></td>
						<td class="value"><?php echo I18N::percentage($row['perc_total_known'], 2); ?></td>
						<td class="value"><?php echo I18N::number($row['different']); ?></td>
						<td class="value left percent_container">
							<div class="percent_frame">
								<div class="percent_cell" style="width:<?php echo 100*$row['perc_different'] ?>%;">
									&nbsp;<?php echo I18N::percentage($row['perc_different']); ?>&nbsp;
								</div>
							</div>
						</td>
						<td class="value"><?php echo I18N::number($row['total_different']); ?></td>
						<td class="value"><?php echo I18N::percentage($row['pedi_collapse'], 2); ?></td>
					</tr>
					<?php  } ?>
				</tbody>
				<tfoot>
					<tr class="maj-row">
						<td class="label" colspan="13">
							<?php echo I18N::translate('Generation-equivalent: %s generations', I18N::number($this->data->get('equivalent_gen'),2)); ?>
						</td>
					</tr>
				</tfoot>
			</table>
			<div class="center"><em><?php echo I18N::translate('Hover the column headers to display some help on their meaning.'); ?></em></div>
			
			<?php  
			$top10_multi_ancestors = $this->data->get('top10multiancestors');
			if(count($top10_multi_ancestors) > 0) { ?>
			<h3><?= I18N::translate('Most duplicated root Sosa ancestors'); ?></h3>
			<div class="maj-table">
			<?php foreach($top10_multi_ancestors as $count => $indis) { ?>
			    <div class="maj-row">
			    	<div class="label"><?= I18N::translate('%s times', I18N::number($count)); ?></div>
			    	<div class="value"><?php 
			    	echo implode(
			    	    I18N::$list_separator, 
			    	    array_map(function(Individual $indi) {
			    	        return '<a href="'. $indi->getHtmlUrl(). '">'. $indi->getFullName() . '&nbsp;' . $indi->getSexImage() . '</a>';
			    	    }, $indis)
			    	);
			    	?></div>
				</div>
			<?php } ?>
			</div>
			<?php } ?>
			
			<h3><?php echo I18N::translate('Known Sosa ancestors\' family dispersion'); ?></h3>
			<div class="center">
				<?php echo $this->data->get('chart_img_g2') ?: '' ; ?>
				<?php echo $this->data->get('chart_img_g3') ?: '' ; ?>				
				<!--  <canvas id="chart_ancestors_g2" width="300" height="300"></canvas>  -->
			</div>
			
			<?php   } else { ?>
			<div class="center warning"><?php echo I18N::translate('No Sosa root individual has been defined.'); ?></div>
			<?php }     
    }
393270
protected function renderContent() {        
        /** @var \Fisharebest\Webtrees\Individual $indi */
        $indi = $this->data->get('indi');
        
        /** @var \Fisharebest\Webtrees\Tree $tree */
        $tree = $this->data->get('tree');
                
        //Welcome section - gedcom title, date, statistics - based on gedcom_block        
        $content = 
            '<table>
                <tr>
                    <td>
                        <a href="pedigree.php?rootid=' . $indi->getXref() . '&amp;ged=' . $tree->getNameUrl() . '">
                            <i class="icon-pedigree"></i><br>' . I18N::translate('Default chart') . '
                        </a>
                    </td>
                    <td>
                        <a href="individual.php?pid=' . $indi->getXref() . '&amp;ged=' . $tree->getNameUrl() . '">
                            <i class="icon-indis"></i><br>' . I18N::translate('Default individual') . '
                        </a>
                    </td>';
        
        if (Site::getPreference('USE_REGISTRATION_MODULE') && !Auth::check()) {
            $content .= '
                    <td>
                        <a href="' . WT_LOGIN_URL . '?action=register">
                            <i class="icon-user_add"></i><br>'.I18N::translate('Request a new user account').'
                        </a>
                    </td>';
        }
        $content .= '
                </tr>
            </table>';
        
        // Piwik Statistics        
        if ($this->data->get('piwik_enabled', false)){
            $content .= '
                <div class="center">
                    <div id="piwik_stats">
                        <i class="icon-loading-small"></i>&nbsp;' . I18N::translate('Retrieving Piwik statistics...') . '
                    </div>
                </div>';
        }
        
        $content .=  '<hr />';
        
        // Login section - based on login_block
        if (Auth::check()) {
            $content .= '
            <div class="center">
                <form method="post" action="logout.php" name="logoutform" onsubmit="return true;">
                    <br>' . 
                    I18N::translate('You are signed in as %s.', '<a href="edituser.php" class="name2">' . Auth::user()->getRealNameHtml() . '</a>') .
                    '<br><br>
                    <input type="submit" value="'.I18N::translate('sign out').'">
                    <br><br>
                </form>
            </div>';
        } else {
            $content .= '
            <div id="maj-login-box">
                <form id="maj-login-form" name="maj-login-form" method="post" action="'.WT_LOGIN_URL.'">
					<input type="hidden" name="action" value="login">
				    <div>
					    <label for="maj-username">'. I18N::translate('Username').
							    '<input type="text" id="maj-username" name="username" class="formField">
						</label>
					</div>
					<div>
						<label for="maj-password">'. I18N::translate('Password').
								'<input type="password" id="maj-password" name="password" class="formField">
						</label>
					</div>
					<div>
						<input type="submit" value="'. I18N::translate('sign in'). '">
					</div>
					<div>
						<a href="#" id="maj-passwd_click">'. I18N::translate('Request a new password').'</a>
					</div>';
            if (Site::getPreference('USE_REGISTRATION_MODULE')) {
                $content.= '
                    <div>
                        <a href="'.WT_LOGIN_URL.'?action=register">'. I18N::translate('Request a new user account').'</a>
                    </div>';
            }
            $content.= '
                </form>'; // close "login-form"
             
            // hidden New Password block
            $content.= '
                <div id="maj-new_passwd">
                    <form id="maj-new_passwd_form" name="new_passwd_form" action="'.WT_LOGIN_URL.'" method="post">
                        <input type="hidden" name="time" value="">
                        <input type="hidden" name="action" value="requestpw">
                        <h4>'. I18N::translate('Lost password request').'</h4>
                        <div>
                            <label for="maj-new_passwd_username">'. I18N::translate('Username or email address') . '
                                <input type="text" id="maj-new_passwd_username" name="new_passwd_username" value="">
                            </label>
        				</div>
        				<div>
                            <input type="submit" value="'. I18N::translate('Continue'). '">
                        </div>
                    </form>
                </div>
            </div>';//"login-box"
        }
        
        return $content;
    }
426753
public function renderView(JsUtils $js,$initialController,$viewName, $params=array()) {
		return $this->setContent($js->renderContent($initialController, $viewName,$params));
	}
802110
public function renderContentBegin()
    {
        echo CHtml::openTag('div', $this->htmlContentOptions);
        if (!empty($this->content)) {
            echo $this->content;
        }
    }
1255542
protected function renderContent() {
        
        /** @var AbstractTask $task */
        $task = $this->data->get('task');
        ?>        
        <ol class="breadcrumb small">
        	<li><a href="admin.php"><?php echo I18N::translate('Control panel'); ?></a></li>
			<li><a href="admin_modules.php"><?php echo I18N::translate('Module administration'); ?></a></li>
			<li><a href="<?php echo $this->data->get('admin_config_url'); ?>"><?php echo $this->data->get('module_title'); ?></a></li>
			<li class="active"><?php echo $this->data->get('title'); ?></li>
		</ol>
		
		<h1><?php echo $this->data->get('title'); ?></h1>
		
		<form class="form-horizontal" name="newform" method="post" role="form" action="<?php echo $this->data->get('save_url'); ?>" autocomplete="off">
    		<?php echo Filter::getCsrf(); ?>
    		<input type="hidden" name="task" value="<?php echo $task->getName(); ?>">
    
			<h3><?php echo I18N::translate('General'); ?></h3>
	
    		<!-- FREQUENCY -->
    		<div class="form-group">
    			<label class="control-label col-sm-3" for="frequency">
    				<?php echo I18N::translate('Frequency'); ?>
    			</label>
    			<div class="col-sm-9">
    				<div class="row">
    					<div class="col-sm-4">
            				<div class="input-group" >
                				<input class="form-control" type="number" min="0" id="frequency" name="frequency" required maxlength="70" value="<?php echo $task->getFrequency(); ?>" dir="auto">
            					<span class="input-group-addon">
            						<?php echo I18N::translate('minutes'); ?>
            					</span>
        					</div>
        				</div>
        			</div>
    				<p class="small text-muted">
    					<?php echo I18N::translate('Frequency at which the task should be run (in minutes).'); ?>
						<?php echo I18N::translate('The actual run of the task may not be fired exactly at the frequency defined, but should be run as close as possible to it.'); ?>
    				</p>
    			</div>
    		</div>
			
			<!-- LIMITED OCCURRENCES -->
    		<div class="form-group">
    			<label class="control-label col-sm-3" for="is_limited">
    				<?php echo I18N::translate('Run a limited number of times'); ?>
    			</label>
    			<div class="col-sm-9">
    				<?php echo FunctionsEdit::editFieldYesNo('is_limited', $task->getRemainingOccurrences() > 0 ? 1 : 0, 'class="radio-inline"'); ?>
				    <p class="small text-muted">
    					<?php echo I18N::translate('Defines whether the task should be run only a limited number of times.'); ?>
    				</p>
    			</div>
    		</div>
			
			<!-- NB_OCCURRENCES -->
    		<div id="nb_occurences" class="form-group">
    			<label class="control-label col-sm-3" for="nb_occur">
    				<?php echo I18N::translate('Number of occurrences'); ?>
    			</label>
    			<div class="col-sm-9">
    				<div class="row">
    					<div class="col-sm-3">
            				<div class="input-group" >
                				<input class="form-control" type="number" min="0" id="nb_occur" name="nb_occur" maxlength="70" value="<?php echo $task->getRemainingOccurrences(); ?>" dir="auto">
            					<span class="input-group-addon">
            						<?php echo I18N::translate('time(s)'); ?>
            					</span>
        					</div>
        				</div>
        			</div>
    				<p class="small text-muted">
    					<?php echo I18N::translate('Defines the number of times the task will run.'); ?>
    				</p>
    			</div>
    		</div>
			
			<?php if($task instanceof ConfigurableTaskInterface) { ?>
			
			<h3><?php echo I18N::translate('Options for “%s”', $task->getTitle()); ?></h3>
			
			<?php echo $task->htmlConfigForm(); ?>
			
			<?php } ?>
    		
    		<div class="form-group">
    			<div class="col-sm-offset-3 col-sm-9">
    				<button type="submit" class="btn btn-primary">
    					<?php echo I18N::translate('save'); ?>
    				</button>
    			</div>
    		</div>
    	</form>
		
		<?php        
    }
1192788
public function render($content = null)
    {
        if (method_exists($this, 'seed')) {
            $this->append('seed', $this->seed()->all());
        }

        return view("{$this->namespace}{$this->template}", $content ? : $this->content);
    }