Sha256: 28d3f4e657520e7343514a31123f52f1bc28be72ae38d8a46891ce2d0b306439

Contents?: true

Size: 507 Bytes

Versions: 13

Compression:

Stored size: 507 Bytes

Contents

<%= render  :partial => 'admin/templates/modals/belongs_to',
            :locals => { :attribute => attribute, :related => related, :attribute_id => attribute_id } %>

<div class="control-group" id="<%= attribute_id %>_li">
  <%= form.label attribute, label_text, { :class => "control-label" } %>
  <div class="controls">
    <% if values.any? %>
      <%= form.select related_fk, values, options, html_options %>
    <% else %>
      <%= Typus::I18n.t("No entries found.") %>
    <% end %>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta12 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta11 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta10 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta9 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta8 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta7 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta6 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta5 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta4 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta3 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta2 app/views/admin/templates/_belongs_to.html.erb
brainsome_typus-4.0.0.beta1 app/views/admin/templates/_belongs_to.html.erb