HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/views/new-password.php
<?php
		
	echo '<div class="row rapportages">';
	
		/*
		 * Header
	 	 */
		echo '<div class="small-12 columns">';
			echo '<h1 class="text-center progress-header">';
				echo 'Nieuw wachtwoord';
				//echo '<a href="/admin" class="previous-step"><i class="fa fa-home" aria-hidden="true"></i></a>';
			echo '</h1>';
			echo '<h3 class="text-center">Stel een nieuw wachwoord in voor '. $data["email"] .'</h3>';
			
			/*
			 * Form
		 	 */	
			echo '<form class="default-form" action="'. $router->pathFor('password.reset.patch') .'" method="post" enctype="multipart/form-data" data-abide novalidate id="update-password">';

				foreach($data["fields"] as $element)
				{	

					// field elememt
					echo $element->getInputElement( $data[$element->element[0]] );
				}
	
	
				/*
				 * Buttons
			 	 */ 
				echo '<div class="small-12 large-12 columns">';
					echo '<button type="submit" class="button">Opslaan</button> ';		
				echo '</div>';	
			
			
				/*
				 * Set form method to PATCH
			 	 */ 
				echo '<input type="hidden" value="'. $data["key"] .'" name="key">';
				echo '<input type="hidden" value="'. $router->pathFor('login.user') .'" name="redirect">';
				echo '<input type="hidden" value="Wachtwoord aangepast" name="message">';

				echo '<input type="hidden" name="_METHOD" value="PATCH"/>';

			echo '</form>';
			
			
			
		echo '</div>';
		
	
	echo '</div>';
	
		
?>