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

  • SEARCH
  • Home
  • 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 8683425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:02:35+00:00 2026-06-12T22:02:35+00:00

I am trying to use bootstrap to append the button inside of the search

  • 0

I am trying to use bootstrap to append the button inside of the search bar, https://i.stack.imgur.com/Lsuor.jpg but it doesn’t seem like it’s working. It is being displayed on educomer.herokuapp.com, my code that I am using is

        %form.form-search
        .input-append
            %input.span3.search-query{:placeholder => "Search Food", :type => "text"}
            %button.btn{:type => "submit"}
                %span.icon-search

I have tried creating an entirely fresh app just to see if there was a problem with my code, but that wasn’t the issue

  • 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-12T22:02:36+00:00Added an answer on June 12, 2026 at 10:02 pm

    What version of Bootstrap are you using? I added the following to your Heroku site:

    <div class="input-prepend">
      <span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" placeholder="Username">
    </div>
    <div class="input-append">
      <input class="span2" id="appendedInput" size="16" type="text"><span class="add-on">.00</span>
    </div>
    

    And it displayed as expected. Bootstrap’s changelog says “support for buttons in input-prepend/append component” was added in version 2.0.2.

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

Sidebar

Related Questions

I'm trying to use the android bootstrap : https://github.com/donnfelker/android-bootstrap So I followed instructions :
I am trying to use scrollspy, but at http://twitter.github.com/bootstrap/javascript.html#scrollspy , the example seems not
I'm trying to use the rottentomatoes movie API with twitter's bootstrap typeahead plugin but
I'm trying to use Bootstrap inside a sharepoint site. Unfortunately the CSS styles are
I'm trying to use bootstrap with the jquery validation plugin but when I try
I'm trying to use a system like bootstrap, but using .data() method to attach
I'm trying to use datepicker with twitter bootstrap with the following code but while
I'm trying to use Twitter Bootstrap's dropdown menu in its top nav bar. You
Good Morning, I'm trying to use the Bootstrap Button Group to group a family
I'm trying to use Twitter Bootstrap's pill navigation, but it's not working properly. I

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.