Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8243411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:30:38+00:00 2026-06-07T21:30:38+00:00

In my views i have pointed my code to login.html >But the alert in

  • 0

In my views i have pointed my code to login.html >But the alert in the ready function or the content so f the body are not seen on the UI.What am i doing wrong here

  {% extends "base/base.html" %}
  <script>
  $(document).ready(function() {
  alert('1');
  });
  </script>
     some code here
     some code here
     some code here
     some code here
     some code here
     some code here
  <b>{{response_dict.yes}} testing and testing and testinf</b>
  <b>{{a}}</b>
  <form action="/logon/" method="post" name="myform">
  {% csrf_token %}
  <b>Username</b><input type="text" name="username" id="username"></input>
  <br><b>Password</b><input type="password" name="password" id="password"></input>
  <b></b><input type="submit" value="Submit"></input>
  <img src="/media/img/hi.png" alt="Hi!" /> <!-- This is working dude -->
  <img alt="Hi!" src="/opt/labs/lab_site/media/img/hi.png">
  </form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:30:39+00:00Added an answer on June 7, 2026 at 9:30 pm

    When you extend a template, you need to specify in which block of your base template this markup will be rendered. Just add this into base/base.html:

    {% block login %}{% endblock %}
    

    in the place where the login form should be rendered, and then in login.html you’ll have:

    {% extends "base/base.html" %}
      {% block login %}
        <script>
        $(document).ready(function() {
        .....
        <img src="/media/img/hi.png" alt="Hi!" /> <!-- This is working dude -->
        <img alt="Hi!" src="/opt/labs/lab_site/media/img/hi.png">
        </form>
      {% endblock %}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created VIEWS and PartialVIEWS, but so far, i have seen that VIEWS,
The Problem I have a very nifty menu Html helper written for WebFormViewEngine views.
I have a page that has some content and 3 partial views each holding
I was reading over http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html But I'm really not grasping how to ignore certain
In the iPod app, the navigation views have the default status bar style, and
I'm developing a WPF app using MVVM. Most of my views have only xaml
In my django views i have the following def create(request): query=header.objects.filter(id=a)[0] a=query.criteria_set.all() logging.debug(a.details) I
I currently have a tableview, with cell views which have NSTextFields inside of them.
I have 5 views in my ASP.NET MVC application. Some data were captured from
I have two views, one view takes the whole screen, the second view covers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.