forked from Public/pics
		
	FormView: remove unused 'before' and 'after' properties
This commit is contained in:
		
							parent
							
								
									416cb73069
								
							
						
					
					
						commit
						12352c0d71
					
				@ -67,9 +67,6 @@ class FormView extends SubTemplate
 | 
			
		||||
		echo '
 | 
			
		||||
				<div class="row mb-2">';
 | 
			
		||||
 | 
			
		||||
		if (isset($field['before']))
 | 
			
		||||
			echo $field['before'];
 | 
			
		||||
 | 
			
		||||
		if ($field['type'] !== 'checkbox')
 | 
			
		||||
			if (isset($field['label']))
 | 
			
		||||
				echo '
 | 
			
		||||
@ -119,9 +116,6 @@ class FormView extends SubTemplate
 | 
			
		||||
				$this->renderText($field_id, $field);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (isset($field['after']))
 | 
			
		||||
			echo ' ', $field['after'];
 | 
			
		||||
 | 
			
		||||
		if ($field['type'] !== 'checkbox')
 | 
			
		||||
			echo '
 | 
			
		||||
					</div>';
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user