No release in over 3 years
Low commit activity in last 3 years
SimpleForm file upload input, formatted with Jasny Bootstrap Fileupload field, the file uploads are handled by Carrierwave.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

SimpleFormJasnyFileupload

This is a SimpleForm file upload input, formatted with Jasny Bootstrap Fileupload field, the file uploads are handled by Carrierwave.

How it works

Prerequisites

Install the following gems and assets.

Install

Add to your Gemfile the following:

gem 'simple_form_jasny_fileupload'
  • Install bootstrap sass version.
  • You have to add Jasny javascript and css files to your project.

Usage

<%= f.input :logo, as: :jasnyfile, label: false %>

I18n

en:
  sfj_fileupload:
    change_label: Change
    select_label: Select file
    remove_label: Remove

This project rocks and uses MIT-LICENSE.