Sha256: bc69083395d60bd725a3c99ea34828742037692cb9ef6049863811f062757c65
Contents?: true
Size: 466 Bytes
Versions: 11
Compression:
Stored size: 466 Bytes
Contents
= form.text_field :label = form.file_field :file, :multiple => @file.new_record? - unless @file.new_record? = form.element t('.current_file') do = image_tag @file.file.url if @file.is_image? = link_to @file.file.url, @file.file.url, :target => '_blank' = form.text_area :description = render :partial => 'cms_admin/categories/form', :object => form .form-actions = form.submit t(@file.new_record?? '.create' : '.update'), :class => 'btn btn-primary'
Version data entries
11 entries across 11 versions & 2 rubygems