Sha256: 6dee8871406d37fc69207b606124af3f76f2529cd76c0c5f0c976bb48634f1d0
Contents?: true
Size: 600 Bytes
Versions: 2
Compression:
Stored size: 600 Bytes
Contents
<%= f.simple_fields_for :meta, obj ? obj : nil, :index => obj ? idx : 'new_0' do |m| %> <li> <div class="field"> <%= m.input :name, :placeholder => 'field name', :size => 40 %> <span class="hint"><%= t('simple_form.hints.cms_asset.meta.name') %></span> </div> <div class="field"> <%= m.input :value, :as => :text, :required => false, :input_html => {:rows => 2, :cols => 60, :placeholder => 'field value'} %> </div> <span class="delete"> <%= link_to cms_icon('table_delete.png'), nil, :class => 'remove_meta', :title => 'Delete this meta data' %> </span> </li> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
liquid_cms-0.3.2.0 | app/views/cms/assets/_meta_field.html.erb |
liquid_cms-0.3.1.0 | app/views/cms/assets/_meta_field.html.erb |