Sha256: 0d5b48aeab7b811987044d7a8369c5e77c11ae9fdab014a2ef17916e1bfe4cd1
Contents?: true
Size: 983 Bytes
Versions: 4
Compression:
Stored size: 983 Bytes
Contents
<h1>Login</h1> <%%= form_tag(<%= name.underscore %>_url, method: :post) do %> <div class="field"> <%%= label_tag :<%= goma_config.authentication_keys.to_field_name %> %><br> <%%= text_field_tag :<%= goma_config.authentication_keys.to_field_name %> %> </div> <div class="field"> <%%= label_tag :<%= goma_config.password_attribute_name %> %><br> <%%= password_field_tag :<%= goma_config.password_attribute_name %> %> </div> <% if goma_config.modules.include?(:rememberable) %> <div class="field"> <%%= check_box_tag :remember_me %> <%%= label_tag :remember_me %> </div> <% end %> <div class="actions"> <%%= submit_tag "Login" %> </div> <%% end %> <% if goma_config.modules.include?(:omniauthable) %> <%% if Rails.env.in? %w(development test) %> <%%= link_to 'Sign in with Developer', '/auth/developer' %> <%% end %> <%%#= link_to 'Sign in with Twitter', '/auth/twitter' %> <%%#= link_to 'Sign in with Facebook', '/auth/facebook' %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems