Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Login to Log in
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Souhei committed Sep 25, 2024
1 parent 23baa7e commit ef1dd40
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ckanext/zarr/templates/user/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% ckan_extends %}

{% block breadcrumb_content %}
<li class="active">{{ h.nav_link(_('Log in'), named_route='user.login') }}</li>
{% endblock %}


{% block primary_content %}
<section class="module">
<div class="module-content">
<h1 class="page-heading">{% block page_heading %}{{ _('Log in') }}{% endblock %}</h1>
{% block form %}
{% snippet "user/snippets/login_form.html", error_summary=error_summary %}
{% endblock %}
</div>
</section>
{% endblock %}
5 changes: 5 additions & 0 deletions ckanext/zarr/templates/user/snippets/login_form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% ckan_extends %}

{% block login_button %}
<button class="btn btn-primary" type="submit">{{ _('Log in') }}</button>
{% endblock %}

0 comments on commit ef1dd40

Please sign in to comment.