Fixed up new post form

added a cancel button
This commit is contained in:
2013-01-21 19:10:48 -05:00
parent c75da12d94
commit 1887288f5b
7 changed files with 32 additions and 38 deletions

View File

@@ -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>