Fixed up new post form
added a cancel button
This commit is contained in:
@@ -8,19 +8,19 @@
|
||||
<%= form_for("user", :as => resource_name, :url => registration_path("user")) do |f| %>
|
||||
<p>
|
||||
Username: <br />
|
||||
<%= f.text_field :username, :style => "font-size:2.2em", :autocomplete => "off" %><br />
|
||||
<%= f.text_field :username, :autocomplete => "off" %><br />
|
||||
</p>
|
||||
<p>
|
||||
Email Address: <br />
|
||||
<%= f.text_field :email, :style => "font-size:2.2em", :autocomplete => "off" %><br />
|
||||
<%= f.text_field :email, :autocomplete => "off" %><br />
|
||||
</p>
|
||||
<p>
|
||||
Password:<br />
|
||||
<%= f.password_field :password, :style => "font-size:2.2em", :autocomplete => "off" %><br />
|
||||
<%= f.password_field :password, :autocomplete => "off" %><br />
|
||||
</p>
|
||||
<p>
|
||||
Confirm Password:<br />
|
||||
<%= f.password_field :password_confirmation, :style => "font-size:2.2em", :autocomplete => "off" %><br />
|
||||
<%= f.password_field :password_confirmation, :autocomplete => "off" %><br />
|
||||
</p>
|
||||
<p><%= f.submit "Sign up" %></p>
|
||||
<% end %>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
</div>
|
||||
<div style="float:right; width:45%; height:195px; padding-left:30px; border-left:1px solid #e2e2e2;">
|
||||
<%= form_for("user", :url => user_session_path) do |f| %>
|
||||
<p><%= f.text_field :username , :value => "username", :style => "font-size:2.2em;" %></p>
|
||||
<p><%= f.password_field :password, :value => "password", :style => "font-size:2.2em" %></p>
|
||||
<p><%= f.text_field :username , :value => "username" %></p>
|
||||
<p><%= f.password_field :password, :value => "password" %></p>
|
||||
<%= f.submit 'Sign in' %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user