Sha256: a0e8aa8e5cbaa9ef58381a0872ed1ebf80a7869396d9684442f6e8b33c65e56c

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 Bytes

Contents

<% new_or_existing = business_segment.new_record? ? 'new' : 'existing' %>
<% prefix = "source[#{new_or_existing}_business_segment_attributes][]" %>
<% fields_for prefix, business_segment do |business_segment_form| %>
<p>
  <%= business_segment_form.collection_select :author_id, @authors, :id, :name %>
  <%= link_to_function t("helpers.forms.remove"), "$(this).up('.business_segment').remove()" %>
</p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/views/business_segments/_business_segment.html.erb
guara-0.0.1.rc app/views/business_segments/_business_segment.html.erb