Skip to content

[JITERA] Feature: Add Login with JP Comment Template for EC-CUBE

Created by: tetsuto-morishima

Overview

This pull request introduces a new Twig template for the EC-CUBE login page, specifically designed for the My Page section. The template includes comments in Japanese to provide context and information about the file's purpose and licensing.

Changes

  • Created login_with_jp_comment.twig:

    • This file serves as the login screen template for EC-CUBE.
    • It extends the default_frame.twig to maintain consistent styling and structure.
    • The body class is set to mypage to apply specific styles for the My Page section.
  • Form Structure:

    • A form is created for user login, including fields for email and password.
    • The form supports a "Remember Me" feature, which is conditionally displayed based on user authentication status.
    • Hidden fields are included to handle redirection after login if a target path is stored in the session.
  • Error Handling:

    • Displays error messages for login authentication failures and password reset completions.
  • Links:

    • Provides links for password recovery and new user registration.

This implementation enhances the user experience by providing a localized login interface while maintaining the functionality required for user authentication.

Merge request reports