Sha256: 1d9caf8ffa89166b629b8358846bd6702ab88be544d27d5eddcfe3d34723c314

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

<%= component_fields_for @record do |f| %>
  <div class="label">
    <%= f.label field %>
    <div class="field_error">
      <%= @record.errors[field.reflection.foreign_key.to_sym].first ||
        @record.errors[field.name.to_sym].first.presence %>
    </div>
  </div>
  <%#= f.hidden_field field, field.input_options %>
  <%= link_to "Choose", '#', :data => {"new-dialog-uri" => event_path(:choose)} %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffer-0.1.0 app/components/references_one/form.html.erb