Sha256: 5b116c7405cbfb0f3ea6fc6c3365c8c990352b6a90af50a6c43eb3af34291d6b
Contents?: true
Size: 668 Bytes
Versions: 32
Compression:
Stored size: 668 Bytes
Contents
<% nested_params.each do |association| %> <% if association.has_key?(model_ref) %> <% association[model_ref].each do |attribute| %> <div class="form-group <% if errors?(f, attribute.to_sym) %>has-danger<% end %>"> <%= admin_field(f, attribute) %> <div class="form-control-feedback"> <% show_errors(f, attribute.to_sym).each do |msg| %> - <%= msg %><br/> <% end %> </div> </div> <% end %> <%= link_to_remove_association f, class: 'btn btn-danger btn-sm btn-remove' do %> <i class="icon-trash"></i> <%= t('slash_admin.view.delete') %> <% end %> <% end %> <% end %>
Version data entries
32 entries across 32 versions & 1 rubygems