Fix forms 404: change action to /forms/ paths
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ disableComments = true
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form class="contact-form" action="/api/send_ask.php" method="POST">
|
<form class="contact-form" action="/forms/send_ask.php" method="POST">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="name">Ваше имя *</label>
|
<label for="name">Ваше имя *</label>
|
||||||
<input type="text" id="name" name="name" required>
|
<input type="text" id="name" name="name" required>
|
||||||
|
|||||||
+2
-2
@@ -120,7 +120,7 @@ disableComments = true
|
|||||||
submitBtn.textContent = 'Отправляем...';
|
submitBtn.textContent = 'Отправляем...';
|
||||||
submitBtn.disabled = true;
|
submitBtn.disabled = true;
|
||||||
|
|
||||||
fetch('/api/send_plan_simple.php', {
|
fetch('/forms/send_plan.php', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: formData
|
body: formData
|
||||||
})
|
})
|
||||||
@@ -172,7 +172,7 @@ disableComments = true
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form class="travel-form" action="/api/send_plan_simple.php" method="POST">
|
<form class="travel-form" action="/forms/send_plan.php" method="POST">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="name">Имя *</label>
|
<label for="name">Имя *</label>
|
||||||
<input type="text" id="name" name="name" placeholder="Введите Ваше имя" required>
|
<input type="text" id="name" name="name" placeholder="Введите Ваше имя" required>
|
||||||
|
|||||||
Reference in New Issue
Block a user