inline_forms 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,16 @@
1
- <h2>Resend confirmation instructions</h2>
1
+ <div id="large_title"><%= application_name -%></div>
2
+ <div id="flash_message">
3
+ <%= devise_error_messages!.empty? ? 'Please provide your email and we will send you instructions' : devise_error_messages! -%>
4
+ </div>
2
5
 
3
- <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
4
- <%= devise_error_messages! %>
5
-
6
- <p><%= f.label :email %><br />
7
- <%= f.email_field :email %></p>
8
-
9
- <p><%= f.submit "Resend confirmation instructions" %></p>
10
- <% end %>
11
-
12
- <%= render :partial => "devise/shared/links" %>
6
+ <div id="sign_in">
7
+ <div id="sign_in_form">
8
+ <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
9
+ <br /> <%= f.email_field :email %><br /><br />
10
+ <div><%= f.submit "Send me instructions" %></div>
11
+ <% end %>
12
+ </div>
13
+ </div>
14
+ <div id="shared_links">
15
+ <%= render :partial => "devise/shared/links" %>
16
+ </div>
@@ -1,4 +1,4 @@
1
- <div id="large_title">QwiRed</div>
1
+ <div id="large_title"><%= application_name -%></div>
2
2
  <div id="flash_message">
3
3
  <%= devise_error_messages!.empty? ? 'Please provide your email and we will send you instructions' : devise_error_messages! -%>
4
4
  </div>
@@ -6,14 +6,12 @@
6
6
  <div id="sign_in">
7
7
  <div id="sign_in_form">
8
8
  <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
9
-
10
- <br /> <%= f.email_field :email %><br /><br />
11
-
12
- <div><%= f.submit "Send me instructions" %></div>
13
- <% end %>
9
+ <br /> <%= f.email_field :email %><br /><br />
10
+ <div><%= f.submit "Send me instructions" %></div>
11
+ <% end %>
14
12
  </div>
15
13
  </div>
16
14
  <div id="shared_links">
17
- <%= render :partial => "devise/shared/links" %>
15
+ <%= render :partial => "devise/shared/links" %>
18
16
  </div>
19
17
 
@@ -1,4 +1,4 @@
1
- <div id="large_title">QwiRed</div>
1
+ <div id="large_title"><%= application_name -%></div>
2
2
  <div id="flash_message">
3
3
  <%= devise_error_messages!.empty? ? 'Please signup with your name, email and password' : devise_error_messages! -%>
4
4
  </div>
@@ -1,11 +1,13 @@
1
- <div id="large_title">RumboTS</div>
2
- <div id="flash_message"><%= flash[:alert] || 'Please login with your email and password' -%></div>
1
+ <div id="large_title"><%= application_name -%></div>
2
+ <div id="flash_message">
3
+ <%= devise_error_messages!.empty? ? 'Please login with your email address and password' : devise_error_messages! -%>
4
+ </div>
3
5
 
4
6
  <div id="sign_in">
5
7
  <div id="sign_in_form">
6
8
  <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
7
- <%= f.email_field :email %><br />
8
- <%= f.password_field :password %>
9
+ <br /> <%= f.email_field :email %><br />
10
+ <%= f.password_field :password %><br />
9
11
  <p><%= f.submit "Sign in" %></p>
10
12
  <% end %>
11
13
  </div>
@@ -1,12 +1,16 @@
1
- <h2>Resend unlock instructions</h2>
1
+ <div id="large_title"><%= application_name -%></div>
2
+ <div id="flash_message">
3
+ <%= devise_error_messages!.empty? ? 'Please provide your email and we will send you instructions' : devise_error_messages! -%>
4
+ </div>
2
5
 
3
- <%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
4
- <%= devise_error_messages! %>
5
-
6
- <p><%= f.label :email %><br />
7
- <%= f.email_field :email %></p>
8
-
9
- <p><%= f.submit "Resend unlock instructions" %></p>
10
- <% end %>
11
-
12
- <%= render :partial => "devise/shared/links" %>
6
+ <div id="sign_in">
7
+ <div id="sign_in_form">
8
+ <%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
9
+ <br /> <%= f.email_field :email %><br /><br />
10
+ <div><%= f.submit "Send me instructions" %></div>
11
+ <% end %>
12
+ </div>
13
+ </div>
14
+ <div id="shared_links">
15
+ <%= render :partial => "devise/shared/links" %>
16
+ </div>
@@ -1,10 +1,10 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>RumboTS</title>
4
+ <title><%= application_title -%> v<%= inline_forms_version -%></title>
5
5
  <%= stylesheet_link_tag 'devise' %>
6
6
  <%#= javascript_include_tag :defaults %>
7
- <%#= csrf_meta_tag %>
7
+ <%= csrf_meta_tag %>
8
8
  </head>
9
9
  <body>
10
10
 
@@ -1,3 +1,3 @@
1
1
  module InlineForms
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ace Suares