Sha256: 6123441d28b44672847914081292ae0e10ae49e82e98d0d6be83e11106da828d
Contents?: true
Size: 452 Bytes
Versions: 2
Compression:
Stored size: 452 Bytes
Contents
<div class="segments"> <% new_or_existing = authorship.new_record? ? 'new' : 'existing' %> <% prefix = "source[#{new_or_existing}_authorship_attributes][]" %> <% fields_for prefix, custumer_segments do |custumer_segments_form| %> <p> <%= custumer_segments_form.collection_select(:segment_id, Author.find(:all), :id, :name, :include_blank => true)$ <%= link_to_function "remove", "$(this).up('.authorship').remove()" %> </p> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guara-0.0.3 | app/views/customers/_segment.html.erb |
guara-0.0.1.rc | app/views/customers/_segment.html.erb |