bugs in forms corrected
							parent
							
								
									ff66c133b6
								
							
						
					
					
						commit
						5dbbebec5c
					
				| 
						 | 
				
			
			@ -96,12 +96,12 @@
 | 
			
		|||
                        @else
 | 
			
		||||
                            <x-form id="anfrage" class="form-load" id-name="anfrage" channels="email-anfrage,bestaetigung-kunde">
 | 
			
		||||
                                <div class="mb-4">
 | 
			
		||||
                                    <label for="exampleInputEmail1" class="form-label">Name:</label>
 | 
			
		||||
                                    <input type="name" name="name" class="form-control" id="name" aria-describedby="emailHelp" placeholder="Max Mustermann" autocomplete="on" required>
 | 
			
		||||
                                    <label for="name" class="form-label">Name:</label>
 | 
			
		||||
                                    <input type="name" name="name" class="form-control" id="name" aria-describedby="name" placeholder="Max Mustermann" autocomplete="on" required autofocus>
 | 
			
		||||
                                </div>
 | 
			
		||||
 | 
			
		||||
                                <div class="mb-4">
 | 
			
		||||
                                    <label for="exampleInputEmail1" class="form-label">Telefonnummer:</label>
 | 
			
		||||
                                    <label for="tel" class="form-label">Telefonnummer:</label>
 | 
			
		||||
                                    <input type="tel" name="tel" class="form-control phone" id="tel" aria-describedby="emailHelp" placeholder="0170 1234 56478" autocomplete="on">
 | 
			
		||||
                                </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -112,7 +112,7 @@
 | 
			
		|||
 | 
			
		||||
                                <div class="form-floating mb-4">
 | 
			
		||||
                                    <textarea style="height: 80px;" name="nachricht" class="form-control" placeholder="Leave a comment here" id="nachricht"></textarea>
 | 
			
		||||
                                    <label for="floatingTextarea">Nachricht</label>
 | 
			
		||||
                                    <label for="nachricht">Nachricht</label>
 | 
			
		||||
                                </div>
 | 
			
		||||
 | 
			
		||||
                                <div class="mb-4">
 | 
			
		||||
| 
						 | 
				
			
			@ -163,10 +163,17 @@
 | 
			
		|||
    <div class="fixed-bottom d-lg-none text-center pb-3 form-anchor">
 | 
			
		||||
 | 
			
		||||
        <div class="d-grid gap-2 px-3">
 | 
			
		||||
            <a href="#lumino-form-sent" class="btn btn-primary btn-block">Angebot anfordern
 | 
			
		||||
            <a href="#lumino-form-sent" id="link-to-form" class="btn btn-primary btn-block">Angebot anfordern
 | 
			
		||||
                <svg style="fill: currentColor;width: 17px;margin-left: 4px;margin-bottom: 4px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144V432c0 44.2 35.8 80 80 80H368c44.2 0 80-35.8 80-80V304c0-8.8-7.2-16-16-16s-16 7.2-16 16V432c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48H208c8.8 0 16-7.2 16-16s-7.2-16-16-16H80z"/></svg>
 | 
			
		||||
            </a>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <script>
 | 
			
		||||
        document.getElementById('link-to-form').addEventListener('click', function () {
 | 
			
		||||
            var campoDeFormulario = document.getElementById('name');
 | 
			
		||||
            campoDeFormulario.autofocus();
 | 
			
		||||
            });
 | 
			
		||||
    </script>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@stop
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -107,24 +107,24 @@
 | 
			
		|||
 | 
			
		||||
                                <x-form id="kontaktformular" id-name="kontaktformular" channels="kunde-bestaetigung,anfrage-kontaktformular" >
 | 
			
		||||
                                    <div class="mb-4">
 | 
			
		||||
                                        <label for="exampleInputEmail1" class="form-label">Name:</label>
 | 
			
		||||
                                        <label for="name" class="form-label">Name:</label>
 | 
			
		||||
                                        <input type="name" name="name" class="form-control" id="name" aria-describedby="emailHelp" placeholder="Max Mustermann" autocomplete="on" required>
 | 
			
		||||
                                    </div>
 | 
			
		||||
 | 
			
		||||
                                    <div class="mb-4">
 | 
			
		||||
                                        <label for="exampleInputEmail1" class="form-label">Telefonnummer:</label>
 | 
			
		||||
                                        <label for="tel" class="form-label">Telefonnummer:</label>
 | 
			
		||||
                                        <input type="tel" name="tel" class="form-control" id="tel" aria-describedby="emailHelp" placeholder="0170 1234 56478" autocomplete="on">
 | 
			
		||||
                                    </div>
 | 
			
		||||
 | 
			
		||||
                                    <div class="mb-4">
 | 
			
		||||
                                        <label for="exampleInputEmail1" class="form-label">E-Mail:</label>
 | 
			
		||||
                                        <label for="email" class="form-label">E-Mail:</label>
 | 
			
		||||
                                        <input type="name" name="email"class="form-control" id="email" aria-describedby="emailHelp" placeholder="beispiel@areya.de" autocomplete="on">
 | 
			
		||||
                                    </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                                    <div class="form-floating mb-4">
 | 
			
		||||
                                        <textarea style="height: 160px;" class="form-control" placeholder="Leave a comment here" id="nachricht" name="nachricht"></textarea>
 | 
			
		||||
                                        <label for="floatingTextarea">Nachricht</label>
 | 
			
		||||
                                        <label for="nachricht">Nachricht</label>
 | 
			
		||||
                                    </div>
 | 
			
		||||
 | 
			
		||||
                                    <div class="mb-4">
 | 
			
		||||
| 
						 | 
				
			
			@ -133,7 +133,7 @@
 | 
			
		|||
 | 
			
		||||
                                    <div class="text-end">
 | 
			
		||||
                                        <button type="submit" class="btn btn-primary">Abschicken
 | 
			
		||||
                                            <svg style="fill: currentColor;width: 17px;margin-left: 6px;margin-bottom: 4px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"/></svg>
 | 
			
		||||
                                            <svg style="fill: currentColor;width: 17px;margin-left: 6px;margin-bottom: 4px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"/></svg>
 | 
			
		||||
                                        </button>
 | 
			
		||||
                                    </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue