Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File input is not properly rendered #25

Open
jantoniomartin opened this issue Feb 26, 2016 · 0 comments · May be fixed by #30
Open

File input is not properly rendered #25

jantoniomartin opened this issue Feb 26, 2016 · 0 comments · May be fixed by #30

Comments

@jantoniomartin
Copy link

I have a form with a file input and its file selection button is cut. I've tried changing it's properties in a custom css file, but I couldn't fix it.

This is how it looks like: https://www.dropbox.com/s/817f0jxvmjcgimh/file-input.png?dl=0

And this is the relevant html rendered by as_bootstrap filter:

<form enctype="multipart/form-data" action="" method="post" class="form-vertical">
  <div id="div_id_picture" class="form-group  ">
    <label for="id_picture" class="control-label  ">Picture</label>
    <div class="">
      <input class=" form-control" id="id_picture" name="picture" type="file" />
    </div>      
  </div>
</form>
michzimny added a commit to michzimny/django-forms-bootstrap that referenced this issue Aug 16, 2017
@michzimny michzimny linked a pull request Aug 16, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant