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 6470323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:05:52+00:00 2026-05-25T06:05:52+00:00

Here is my code in my ask.haml file: %form{:action => /calendar, :method => post}

  • 0

Here is my code in my ask.haml file:

 %form{:action => "/calendar", :method => "post"}
            .inputRow
              %label How many days in a row do you work?
              %input#on{:name => "on", :tabindex => "1", :title => "Number of days in a row you work", :type => "text", :value => "4", :id=> "on"}/
            .inputRow
              %label How many days in a row are you off?
              %input#off{:name => "off", :tabindex => "2", :title => "Number of days in a row you're off", :type => "text", :value => "3", :id=> "off"}/
            .inputRow
              %label When is the start of your next block off?
              %input#date{:name => "date", :tabindex => "3", :title => "Start of your next block off", :type => "text", :value => "8/31/2011", :id=> "date"}/
            %button#button{:type => "submit"}

And, when I run this on my local machine using either shotgun or just plain ruby and run the main .rb file it rends like such:

<form action='/calendar' method='post'> 
          <div class='inputRow'> 
            <label>How many days in a row do you work?</label> 
            <input id='on_on' name='on' tabindex='1' title='Number of days in a row you work' type='text' value='4' /> 
          </div> 
          <div class='inputRow'> 
            <label>How many days in a row are you off?</label> 
            <input id='off_off' name='off' tabindex='2' title="Number of days in a row you're off" type='text' value='3' /> 
          </div> 
          <div class='inputRow'> 
            <label>When is the start of your next block off?</label> 
            <input id='date_date' name='date' tabindex='3' title='Start of your next block off' type='text' value='8/31/2011' /> 
          </div> 
          <button id='button' type='submit'></button> 
        </form> 

But, when I upload it to my server (webfaction) and restart nginx even, I get this:

<form> 
        <div class="inputRow"><label>How many days in a row do you work?</label><input type="text" name="on" value="" id="on"  tabindex="1" placeholder="4" title="Number of days in a row you work" /></div> 
        <div class="inputRow"><label>How many days in a row are you off?</label><input type="text" name="off" value="" id="off"  tabindex="2" placeholder="3" title="Number of days in a row you're off" /></div> 
        <div class="inputRow"><label>When's the start of your next block off?</label><input type="text" name="on" value="" id="on"  tabindex="3" placeholder="8/31/2011" title="Start of your next block off" /></div> 
        <button type="submit" id="button"></button> 
        </form> 

The post and which page to direct it to are missing. Any ideas on how to even get started trouble shooting this? Thanks in advance.

UPDATE: As I’ve dug into this a bit more, it looks like nginx is loading an older file called ask.haml. I’ve confirmed the newer file is on the server.

  • 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-05-25T06:05:52+00:00Added an answer on May 25, 2026 at 6:05 am

    Sounds like you may have the html cached in your browser. Try opening a different browser (or explicitly emptying your browser cacche) and aiming it at your production app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Download source code here: http://www.eyeClaxton.com/download/delphi/ColorSwap.zip Yes, I want to convert something mostly blue to
Just curious... I begin my jquery code with this: jQuery(document).ready(function($) { /*code here*/ })
I don't know why this is happening. I have this code here . It
here is my code <div id=lara><a href=http://anywhere.com/work/lara.jpg>some crap</a></div> <div id=jerk><a href=http://anywhere.com/work/jerk.jpg>some crap</a></div> <div id=yessir><a
Actually i once saw some PHP code on php.net but i forgot its name
can you help me improve my code... this is all about student information... i'm
I’m just starting to explore asp mvc and jquery. I have a simple form
Taking into account that I barely know python and am simply following the hello-world
I'm learning OpenGL-ES with 3D programming for the iPhone (O'Reilly). Its first tutorial involves
Update So in my Original question I was just frustrated because I was being

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.