Sha256: b5bf1a9d7e445d2c0800cfd86baac115a6b332ae5326422de45257a10e77cb96

Contents?: true

Size: 1.02 KB

Versions: 10

Compression:

Stored size: 1.02 KB

Contents

- include_stylesheet('admin/reader_group')

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

- if message = @group.messages.for_function('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.use_honorifics?']
              title or rank, 
            name, email, [login], [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('invitation_instructions')

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
radiant-reader_group-extension-1.2.4 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.2.3 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.2.2 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.2.1 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.2.0 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.1.2 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.1.1 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.1.0 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.0.1 app/views/admin/group_invitations/new.html.haml
radiant-reader_group-extension-1.0.0 app/views/admin/group_invitations/new.html.haml