<%= form_tag plugins_ecommerce_login_path, id: 'login-form', class: 'tab-pane active', role: 'tabpanel' do %>
<%= hidden_field_tag :kind_form, 'login-form' %>
<% end %>
<%= form_for @user, url: plugins_ecommerce_register_path, html: { id: 'register-form', class: 'tab-pane', role: 'tabpanel' } do |f| %>
<%= render partial: 'layouts/camaleon_cms/admin/form_error', locals: {data: @user} %>
<%= hidden_field_tag :kind_form, 'register-form' %>
<%= f.text_field :first_name, class: 'form-control required', tabindex: 1, placeholder: t('.full_name', default: 'Full Name') %>
<%= f.text_field :email, class: 'form-control email required', tabindex: 3, placeholder: t('.email', default: 'Email address') %>
<%= f.password_field :password, class: 'form-control required', tabindex: 4, placeholder: t('.password', default: 'Password') %>
<%= f.password_field :password_confirmation, class: 'form-control required', equalTo: '#camaleon_cms_user_password', tabindex: 5, placeholder: t('.confirm_pass', default: 'Confirm Password') %>
<%= submit_tag t('.create_account', default: 'Create account'), class: 'btn btn-default col-md-3' %>
<% end %>