-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eabeacb
commit 25c07e7
Showing
5 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
// Place all the styles related to the users controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ | ||
|
||
#cables-img { | ||
position: absolute; | ||
right:0px; | ||
bottom: 0px; | ||
|
||
} |
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 |
---|---|---|
@@ -1,18 +1,38 @@ | ||
<h2>Sign up</h2> | ||
|
||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> | ||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: {class: 'well form-horizontal', style: 'position: relative;'}) do |f| %> | ||
<%= devise_error_messages! %> | ||
|
||
<div><%= f.label :email %><br /> | ||
<%= f.email_field :email %></div> | ||
<div class="pull-right" id="cables-img"> | ||
<img class="cables-img" src="/assets/cables-arc.png" width="200px" /> | ||
</div> | ||
|
||
<div class="control-group"> | ||
<%= f.label :email, class: 'control-label' %> | ||
<div class="controls"> | ||
<%= f.email_field :email, class: 'text-field', autocomplete: 'off' %> | ||
</div> | ||
</div> | ||
|
||
<div><%= f.label :password %><br /> | ||
<%= f.password_field :password %></div> | ||
|
||
<div><%= f.label :password_confirmation %><br /> | ||
<%= f.password_field :password_confirmation %></div> | ||
|
||
<div><%= f.submit "Sign up" %></div> | ||
<div class="control-group"> | ||
<%= f.label :password, class: 'control-label' %> | ||
<div class="controls"> | ||
<%= f.password_field :password, autocomplete: 'off' %> | ||
</div> | ||
</div> | ||
|
||
<div class="control-group"> | ||
<%= f.label :password_confirmation, class: 'control-label' %> | ||
<div class="controls"> | ||
<%= f.password_field :password_confirmation, autocomplete: 'off' %> | ||
</div> | ||
</div> | ||
|
||
<div class="control-group"> | ||
<div class="controls"> | ||
<%= f.submit "Sign up", class: 'btn btn-success' %> | ||
</div> | ||
</div> | ||
<% end %> | ||
|
||
<%= render :partial => "devise/shared/links" %> |
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 |
---|---|---|
@@ -1,17 +1,38 @@ | ||
<h2>Sign in</h2> | ||
|
||
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> | ||
<div><%= f.label :email %><br /> | ||
<%= f.email_field :email %></div> | ||
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), html: {class: 'well form-horizontal', style: 'position: relative;'}) do |f| %> | ||
|
||
<div><%= f.label :password %><br /> | ||
<%= f.password_field :password %></div> | ||
<div class="pull-right" id="cables-img"> | ||
<img class="cables-img" src="/assets/cables-arc.png" width="200px" /> | ||
</div> | ||
|
||
<div class="control-group"> | ||
<%= f.label :email, class: 'control-label' %> | ||
<div class="controls"> | ||
<%= f.email_field :email, class: 'text-field' %> | ||
</div> | ||
</div> | ||
|
||
<div class="control-group"> | ||
<%= f.label :password, class: 'control-label' %> | ||
<div class="controls"> | ||
<%= f.password_field :password %> | ||
</div> | ||
</div> | ||
|
||
<% if devise_mapping.rememberable? -%> | ||
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div> | ||
<div class="control-group"> | ||
<div class="controls"> | ||
<%= f.check_box :remember_me %> Remember me | ||
</div> | ||
</div> | ||
<% end -%> | ||
|
||
<div><%= f.submit "Sign in" %></div> | ||
<div class="control-group"> | ||
<div class="controls"> | ||
<%= f.submit "Sign in", class: 'btn btn-success' %> | ||
</div> | ||
</div> | ||
<% end %> | ||
|
||
<%= render :partial => "devise/shared/links" %> |