Sha256: 024dc99abcb9feb52e4fc631bd742c2e34a8633d7f798fe0d3bd8cdfa02eb3c0

Contents?: true

Size: 614 Bytes

Versions: 10

Compression:

Stored size: 614 Bytes

Contents

<hr>

<div class="row">
  <%= f.label :member_key, @group.flaggable_type.constantize.detour_flaggable_find_by.to_s.titleize, class: "col-sm-1" %>

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

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