-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct receiver and sender email addresses and generate confirm…
…ation email (#193)
- Loading branch information
1 parent
06cbfcc
commit 64c59cd
Showing
4 changed files
with
71 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,9 @@ config :flop, repo: Pescarte.Database.Repo.Replica | |
|
||
config :pescarte, fetch_pesagro_cotacoes: !!System.get_env("FETCH_PESAGRO_COTACOES") | ||
|
||
config :pescarte, PescarteWeb, receiver_email: "[email protected]" | ||
config :pescarte, PescarteWeb, sender_email: "[email protected]" | ||
|
||
config :pescarte, PescarteWeb, receiver_email: "[email protected]" | ||
|
||
config :pescarte, | ||
ecto_repos: [Pescarte.Database.Repo], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
<.text size="lg" color="text-black-80">Nome</.text> | ||
<input | ||
type="text" | ||
name="contact_form[sender_name]" | ||
id="sender_name" | ||
name="contact_form[form_sender_name]" | ||
id="form_sender_name" | ||
placeholder="João da Silva" | ||
required | ||
/> | ||
|
@@ -17,15 +17,15 @@ | |
<.text size="lg" color="text-black-80">Email</.text> | ||
<input | ||
type="email" | ||
name="contact_form[sender_email]" | ||
id="sender_email" | ||
name="contact_form[form_sender_email]" | ||
id="form_sender_email" | ||
placeholder="[email protected]" | ||
required | ||
/> | ||
</div> | ||
<div class="input-area"> | ||
<.text size="lg" color="text-black-80">Assunto</.text> | ||
<select id="sender_option" name="contact_form[sender_option]" required> | ||
<select id="form_sender_option" name="contact_form[form_sender_option]" required> | ||
<option value="Dúvida">Dúvida</option> | ||
<option value="Comentário">Comentário</option> | ||
<option value="Solicitação">Solicitação</option> | ||
|
@@ -35,10 +35,10 @@ | |
<div class="input-area"> | ||
<.text size="lg" color="text-black-80">Mensagem</.text> | ||
<textarea | ||
name="contact_form[sender_message]" | ||
name="contact_form[form_sender_message]" | ||
rows="10" | ||
id="sender_message" | ||
placeholder="Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quibusdam voluptates, nam provident inventore perferendis ea ipsum? Distinctio, pariatur accusamus. Facilis, deleniti vel repudiandae aliquam voluptatibus sed. Delectus, quae. Iusto, nam?" | ||
id="form_sender_message" | ||
placeholder="Digite aqui sua mensagem..." | ||
required | ||
></textarea> | ||
</div> | ||
|