Sha256: c3efe33554edda07048790ef730a4eac8d53862b22f6882d60a7c9a9e2fb6974

Contents?: true

Size: 592 Bytes

Versions: 10

Compression:

Stored size: 592 Bytes

Contents

<hr>

<div class="row">
  <%= f.label :flaggable_key, flaggable_type, class: "col-sm-1" %>

  <div class="col-sm-3">
    <% if f.object.persisted? %>
      <%= text_field_tag "flaggable_identifier", f.object.flaggable.send(f.object.flaggable.class.detour_flaggable_find_by), class: "form-control", disabled: "disabled" %>
    <% else %>
      <%= f.text_field :flaggable_key, class: "form-control" %>
    <% end %>
  </div>

  <div class="col-sm-2 checkbox">
    <%= f.label :_destroy do %>
      <%= f.check_box "_destroy" %> Remove <%= flag_noun.capitalize %>
    <% end %>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
detour-0.0.15 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.14 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.13 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.12 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.11 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.10 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.9 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.7 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.6 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb
detour-0.0.5 app/views/detour/flaggable_flags/_flaggable_flag_fields.html.erb