app/views/as_user/sessions/new.html.erb in as_user-0.0.3 vs app/views/as_user/sessions/new.html.erb in as_user-0.0.4

- old
+ new

@@ -1,18 +1,16 @@ -<h1>Sign in</h1> +<%=content_for :nav do%> + <%= link_to 'Signup', signup_path %> +<%end%> -<div class="message_box"> - <%= flash[:error] if flash[:error] %> -</div> - -<div class="login_form"> - <%= form_for(:session, url: sessions_path) do |f| %> - <%= f.label :email %> - <%= f.text_field :email %> - - <%= f.label :password %> - <%= f.password_field :password %> - - <%= f.submit "Sign in" %> - <%end%> -</div> +<%= form_for(:session, url: sessions_path) do |f| %> + <div class="qa-login-box"> + <div class="item"> + <%= f.label :email, class: "field" %><span class="con"><%= f.text_field :email, class: "input-txt" %></span> + </div> + <div class="item"> + <%= f.label :password, class: "field" %><span class="con"><%= f.password_field :password, class: "input-txt" %></span> + </div> + <div class="btn"><%= f.submit "submit" %></div> + </div> +<%end%>