<%= javascript_include_tag "admin/login_manifest" %>

<%= raw t('admin.login.welcome_login_html') %>

<%= render "layouts/admin/flash_messages" %> <%= form_for(@user, :html => { method: "post", role: "form", id:"login_user", class: "form-horizontal" }, :url => admin_login_path ) do |f| %>
<%= f.text_field :username, :class => "form-control", :placeholder => t("admin.login.username") %>
<%= f.password_field :password, :class => "form-control", :placeholder => t("admin.login.password") %>
<%= raw captcha_tags_if_under_attack("login") %>

<%= raw content_before_draw %> <%= r = {html: ""}; hooks_run("user_login_form", r); raw(r[:html]); %>
<% if current_site.get_option('has_create_account', false) %>
<%= t('admin.login.do_not_have_account_yet') %>
<%= t('admin.login.create_account') %>
<% end %>
<% end %>