Sha256: cde1f010b6d89d02ed025b0a318f19a33295d9b6482a0e4df228864c8403f5e7

Contents?: true

Size: 969 Bytes

Versions: 5

Compression:

Stored size: 969 Bytes

Contents

<% content_for :doc_title, t('intro.admin.sign_in') %>
<% content_for :body_class, 'intro-admin_sessions' %>

<div class="intro-admin__container center">
  <div class="intro-admin__box">
    <div class="intro-admin__box-header">
      <%= t('intro.admin.title') %>
    </div>

    <%= form_tag admin_sessions_path, method: :post, class: 'intro-admin__form' do %>
      <% if flash.alert %>
        <div class="field error">
          <div class="message"><%= flash.alert %></div>
        </div>
      <% end %>
      <div class="field">
        <%= text_field_tag :username, params[:username], placeholder: t('intro.admin.username') %>
      </div>

      <div class="field">
        <%= password_field_tag :password, params[:password], placeholder: t('intro.admin.password') %>
      </div>

      <div class="field">
        <%= button_tag t('intro.admin.sign_in'), class: 'intro-admin__button prime large', type: :sumbit %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
intro-0.4.1 app/views/intro/admin/sessions/new.html.erb
intro-0.4.0 app/views/intro/admin/sessions/new.html.erb
intro-0.3.0 app/views/intro/admin/sessions/new.html.erb
intro-0.2.0 app/views/intro/admin/sessions/new.html.erb
intro-0.1.0 app/views/intro/admin/sessions/new.html.erb