<% content_for :doc_title, t('intro.admin.sign_in') %> <% content_for :body_class, 'intro-admin_sessions' %>
<%= t('intro.admin.title') %>
<%= form_tag admin_sessions_path, method: :post, class: 'intro-admin__form' do %> <% if flash.alert %>
<%= flash.alert %>
<% end %>
<%= text_field_tag :username, params[:username], placeholder: t('intro.admin.username') %>
<%= password_field_tag :password, params[:password], placeholder: t('intro.admin.password') %>
<%= button_tag t('intro.admin.sign_in'), class: 'intro-admin__button prime large', type: :sumbit %>
<% end %>