mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
23 lines
1 KiB
Text
23 lines
1 KiB
Text
.container
|
|
.row
|
|
.col-md-6.col-md-offset-3
|
|
.panel.panel-default
|
|
.panel-heading
|
|
%h3 Sign In (TEST MODE)
|
|
%p.text-muted
|
|
Just fill out all the details and you're logged in.
|
|
.panel-body
|
|
= form_tag(@login_url, method: :post, enctype: 'application/x-www-form-urlencoded', id: 'session') do
|
|
.form-group
|
|
= label_tag :username, "Username"
|
|
= text_field_tag :username, "", :autofocus => true, :placeholder => 'Username', :class => 'form-control', :required => "required"
|
|
.form-group
|
|
- @fields.each do |field|
|
|
= label_tag "attributes[#{field}]", field.to_s.humanize
|
|
= text_field_tag "attributes[#{field}]", nil, :class => 'form-control', :required => "required"
|
|
%p.text-right
|
|
%button{type: 'submit', class: 'btn btn-success'}
|
|
Sign In
|
|
|
|
- if devise_mapping.ichain_registerable?
|
|
= link_to "Sign up", new_ichain_registration_path(resource_name)
|