{% extends "@organisms/forms/form.twig" %}

{% block form_body %}

{% if notification.text %}
  {% include "@molecules/notifications/notification.twig" with {
    notification: {
      classes: "c-notification--error",
      text: notification.text
    }
  } %}
{% endif %}


{% include "@molecules/form-fields/form-field.twig" with {
  "input": {
    "id": "user-email",
    "placeholder": "john.smith@pega.com"
  },
  "label": {
    "for": "user-email",
    "text": "Company Email"
  }
} %}


{% embed  '@molecules/form-fields/form-field.twig' with {
  "input": {
    "id": "user-password",
    "placeholder": "My Password"
  },
  "label": {
    "for": "user-password",
    "text": "Password"
  }
} %}
  {% block form_field_content %}
    {{ parent() }}

    {% include "@atoms/links/link.twig" with {
      link: {
        "href": "#",
        "text": "Forgot Password?",
        "classes": "u-float-right u-font-size-small"
      }
    } %}
  {% endblock %}
{% endembed %}



  {% grid %}
    {% cell %}
      {% include "@atoms/form-elements/text-input.twig" with {
        input: {
          value: "Log In",
          type: "submit",
          classes: ["u-margin-bottom c-button"]
        }
      } %}
      
    {% endcell %}
  {% endgrid %}



{% endblock %}
