Sha256: f4b3f50dc8a55c1fee0cb622693ac6a7b7dca1fc4a1f6081f485e5a65669a02d

Contents?: true

Size: 293 Bytes

Versions: 10

Compression:

Stored size: 293 Bytes

Contents

<% attachment = attribute.split('_file_name').first %>

<li><label for="item_<%= attribute %>"><%= _(attachment.humanize) %></label>
<%= file_field :item, attachment, :disabled => attribute_disabled?(attribute) %>
<%= @item.typus_preview(attribute) unless @item.send(attribute).blank? %>
</li>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
typus-0.9.39 app/views/admin/templates/_file.html.erb
typus-0.9.38 app/views/admin/templates/_file.html.erb
typus-0.9.37 app/views/admin/templates/_file.html.erb
typus-0.9.36 app/views/admin/templates/_file.html.erb
typus-0.9.35 app/views/admin/templates/_file.html.erb
typus-0.9.34 app/views/admin/templates/_file.html.erb
typus-0.9.33 app/views/admin/templates/_file.html.erb
typus-0.9.32 app/views/admin/templates/_file.html.erb
typus-0.9.31 app/views/admin/templates/_file.html.erb
typus-0.9.30 app/views/admin/templates/_file.html.erb