8 lines
312 B
Plaintext
8 lines
312 B
Plaintext
.actions
|
|
- @actions.each do |action|
|
|
- if action.to_sym == :facebook_sign_in
|
|
%a.facebook-sign-in.button{href: '/oauth/facebook'}
|
|
= _ action.to_s
|
|
- else
|
|
%button{id: action.to_s, name: action.to_s, type: 'submit', formnovalidate: ([:cancel, :previous].include? action.to_sym)}
|
|
= _ action.to_s |