Sha256: 5f8c0c5ec129537299063d1e224a0a6579359b47f56d22093d1cecde90378d04
Contents?: true
Size: 421 Bytes
Versions: 2
Compression:
Stored size: 421 Bytes
Contents
= form.text_field :label = form.file_field :file, :multiple => @file.new_record? - unless @file.new_record? = form.element t('.current_file'), nil do = 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comfortable_mexican_sofa-1.7.1 | app/views/cms_admin/files/_form.html.haml |
comfortable_mexican_sofa-1.7.0 | app/views/cms_admin/files/_form.html.haml |