Sha256: 7a4756ea3db220cea508bc0855b4be33c21bac6c222c6a440d3c7a9e718cc7f0

Contents?: true

Size: 662 Bytes

Versions: 11

Compression:

Stored size: 662 Bytes

Contents

%script{ :type => 'text/html', :id => 'membership_entry' }

  = hidden_field_tag 'site[memberships_attributes][{{index}}][id]', '{{id}}'
  = hidden_field_tag 'site[memberships_attributes][{{index}}][_destroy]'

  %strong {{name}}

  %em.email {{email}}

  {{#if can_update}}
  .role
    {{#if grant_admin}}
    = select_tag 'site[memberships_attributes][{{index}}][role]', options_for_membership_roles
    {{else}}
    = select_tag 'site[memberships_attributes][{{index}}][role]', options_for_membership_roles(:skip_admin => true)
    {{/if}}

  %span.actions
    = link_to 'x', '#', :class => 'remove'

  {{else}}
  .role
    %em.locked {{role_name}}

  {{/if}}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc12 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc11 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc10 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc9 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc8 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc7 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc6 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc5 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc4 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc2 app/views/locomotive/sites/_memberships.html.haml
locomotive_cms-2.0.0.rc1 app/views/locomotive/sites/_memberships.html.haml