This repository has been archived by the owner on Apr 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/aceleradora-TW/HemoHeroes
- Loading branch information
Showing
7 changed files
with
44 additions
and
44 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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
.container{ | ||
width:1000px; | ||
} | ||
.errorMessage{ | ||
.red-text{ | ||
color:red; | ||
font-size:8pt; | ||
} |
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
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 |
---|---|---|
|
@@ -29,9 +29,9 @@ | |
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">Nome: </span> | ||
<%= f.text_field :name, class: "js-validateName Form-inputValue u-size10of12" %> | ||
<span id="errorName" style="display:none;" class="errorMessage">O campo é obrigatório!</span> | ||
<span class="Form-inputLabel u-size2of12">Nome<span class="red-text">*</span></span> | ||
<%= f.text_field :name, class: "js-validateName Form-inputValue u-size10of12", placeholder: "Ex: Hospital Carlos Schallenberger" %> | ||
<span id="errorName" style="display:none;" class="red-text">Campo obrigatório!</span> | ||
|
||
</div> | ||
</div> | ||
|
@@ -40,9 +40,9 @@ | |
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">CPNJ: </span> | ||
<%= f.text_field :cnpj, class: "Form-inputValue u-size10of12 js-validateCNPJ",:maxlength => 18 %> | ||
<span id="errorCNPJ" style="display:none;" class="errorMessage"></span> | ||
<span class="Form-inputLabel u-size2of12">CNPJ<span class="red-text">*</span></span> | ||
<%= f.text_field :cnpj, class: "Form-inputValue u-size10of12 js-validateCNPJ",:maxlength => 18, placeholder: "Digite apenas números" %> | ||
<span id="errorCNPJ" style="display:none;" class="red-text"></span> | ||
|
||
</div> | ||
</div> | ||
|
@@ -51,60 +51,60 @@ | |
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">Email:</span> | ||
<%= f.text_field :email, class: "Form-inputValue u-size10of12 js-validateEmail" %> | ||
<span id="errorEmail" style="display:none;" class="errorMessage"></span> | ||
<span class="Form-inputLabel u-size2of12">E-mail<span class="red-text">*</span></span> | ||
<%= f.text_field :email, class: "Form-inputValue u-size10of12 js-validateEmail", placeholder: "Ex: [email protected]" %> | ||
<span id="errorEmail" style="display:none;" class="red-text"></span> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">Telefone:</span> | ||
<%= f.text_field :phone, class: "Form-inputValue u-size10of12 js-validatePhone",:maxlength => 13 %> | ||
<span id="errorPhone" style="display:none;" class="errorMessage"></span> | ||
<span class="Form-inputLabel u-size2of12">Telefone<span class="red-text">*</span></span> | ||
<%= f.text_field :phone, class: "Form-inputValue u-size10of12 js-validatePhone",:maxlength => 13, placeholder: "Ex: (51) 9876-5432" %> | ||
<span id="errorPhone" style="display:none;" class="red-text"></span> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">Ramal:</span> | ||
<%= f.text_field :extension, class: "Form-inputValue u-size10of12 js-validateExtension", :maxlength => 4%> | ||
<span id="errorExtension" style="display:none;" class="errorMessage">O campo é obrigatório!</span> | ||
<span class="Form-inputLabel u-size2of12">Ramal</span> | ||
<%= f.text_field :extension, class: "Form-inputValue u-size10of12 js-validateExtension", :maxlength => 4, placeholder: "Ex: 1234"%> | ||
<span id="errorExtension" style="display:none;" class="red-text">Campo obrigatório!</span> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">Endereço:</span> | ||
<%= f.text_field :adress, class: "Form-inputValue u-size10of12 js-validateAddress" %> | ||
<span id="errorAddress" style="display:none;" class="errorMessage">O campo é obrigatório!</span> | ||
<span class="Form-inputLabel u-size2of12">Endereço<span class="red-text">*</span></span> | ||
<%= f.text_field :adress, class: "Form-inputValue u-size10of12 js-validateAddress", placeholder: "Ex: Av. Ipiranga, 6681"%> | ||
<span id="errorAddress" style="display:none;" class="red-text">Campo obrigatório!</span> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">Senha: </span> | ||
<span class="Form-inputLabel u-size2of12">Senha<span class="red-text">*</span></span> | ||
<% if @minimum_password_length %> | ||
<% end %><br /> | ||
<%= f.password_field :password, autocomplete: "off", class:"js-validatePassword Form-inputValue u-size10of12" %> | ||
<span id="errorPassword" style="display:none;" class="errorMessage"></span> | ||
<%= f.password_field :password, autocomplete: "off", class:"js-validatePassword Form-inputValue u-size10of12", placeholder: "Senha" %> | ||
<span id="errorPassword" style="display:none;" class="red-text"></span> | ||
</div> | ||
</div> | ||
|
||
<div class="Grid-cell u-desktop-size6of12 u-tablet-size6of12 u-mobile-sizeFull"> | ||
<div class="Form-group"> | ||
|
||
<span class="Form-inputLabel u-size2of12">Confirme a senha: </span> | ||
<%= f.password_field :password_confirmation, autocomplete: "off", class:"js-validatePasswordConfirmation Form-inputValue u-size10of12" %> | ||
<span id="errorPasswordConfirmation" style="display:none;" class="errorMessage"></span> | ||
<span class="Form-inputLabel u-size2of12">Confirmar senha<span class="red-text">*</span></span> | ||
<%= f.password_field :password_confirmation, autocomplete: "off", class:"js-validatePasswordConfirmation Form-inputValue u-size10of12", placeholder: "Confirme sua senha" %> | ||
<span id="errorPasswordConfirmation" style="display:none;" class="red-text"></span> | ||
|
||
</div> | ||
</div> | ||
|
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