Skip to content

Commit

Permalink
add link_to new_session_path
Browse files Browse the repository at this point in the history
  • Loading branch information
kenohata committed Nov 23, 2014
1 parent bdaca93 commit 206b554
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/stylesheets/registrations.css.sass
Expand Up @@ -45,3 +45,6 @@
margin-top: 10px
margin-bottom: 10px
font-size: 16px
.login
color: #fff
text-decoration: underline
1 change: 1 addition & 0 deletions app/views/registrations/new.html.haml
Expand Up @@ -24,4 +24,5 @@
= f.label :password_confirmation, "確認用パスワード: 6文字以上", class: "control-label"
= f.password_field :password_confirmation, class: "form-control"
= f.submit "登録する", class: "btn btn-primary"
= link_to "ログインする", new_sessions_path, class: "login pull-right"
.clear

0 comments on commit 206b554

Please sign in to comment.