Sha256: 93e542ebf80193c262b716fece6cb1def5cefeeb58d6a2d4d43ae4d9dd956f7b

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

- include_stylesheet('admin/reader_group')

%h1 
  = t('reader_extension.invite_into_group', :name => @group.name)

- if message = @group.messages.for_function('group_invitation').first

  - form_for :group, @group, :url => admin_group_group_invitations_url(@group), :html => {:id => 'preview_form', :method => 'post'} do
    .form-area
      %p
        %label{:for => "readerlist"}
          List of people
          %span.formnote
            - if Radiant::Config['reader.show_honorifics?']
              title or rank, 
            forename, surname, email, [phone]
        = text_area_tag "readerlist", params[:readerlist], :class => "textarea", :style => "width: 100%; height: 240px;"

      %p.buttons
        = submit_tag 'preview import', :class => 'button'
        or
        = link_to "Cancel", admin_group_url(@group)

  %p 
    = t('reader_extension.invitation_instructions')

- else
  %p
    = t('reader_extension.no_invitation_message')
    = link_to image('plus') + ' ' + t("reader_extension.create_invitation_message"), new_admin_group_message_url(@group, :function => 'group_invitation'), :class => "action"
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.30 app/views/admin/group_invitations/new.html.haml
radiant-reader-extension-3.0.29 app/views/admin/group_invitations/new.html.haml