<?php
global $bp;
?>


<?php if ($event != 'create') : ?>
    <p id="welcome-message"><?php _e("Create your dedication by following these steps:", 'bp-dedication'); ?></p>
    <form action="<?php bp_dedication_new_dedication_form_action() ?>" method="post" id="new-dedication-form" enctype="multipart/form-data" class="standard-form">

        <div class="columns two first blank  text-left">
            <ol>
                <li>
                    <label for="dedication_text">Dedication text</label>
                    <textarea name="dedication_text" class="dedication_text required" id="dedication_text"></textarea>
                    <input name="private-dedication" type="checkbox" />This dedication is private.
                </li>
                <li>
                    <label for="dedicate_to_input"><?php _e("Enter a member to dedicate:", 'bp-dedication') ?></label>

                    <ul class="first acfb-holder">
                        <li>
                            <input type="text" name="dedicate_to_input" class="dedicate_to_input" id="dedicate_to_input" />
                            <input type="hidden" name="friend_ids" id="friend_ids" class="required" value="" />
                        </li>
                    </ul>

                </li>                
                <li>
                    <label for="video_url">Video for dedication</label>
                    <input type="text" name="video_url" class="video_url required url" id="video_url" />
                </li>
                <li>
                    <label for="artist_name">Artist name</label>
                    <input type="text" name="artist_name" class="artist_name required" id="artist_name"/>
                </li>
                <li>
                    <label for="song_name">Song name</label>
                    <input type="text" name="song_name" class="song_name required" id="song_name"/>
                </li>
                <?php /*
                <li>
                    <label>< ? php _e('Select friend from the directory:', 'bp-dedication') ? > </label>

                    <div id="invite-anyone-member-list">
                        <ul>
                            < ? php bp_new_dedication_invite_member_list() ? >
                        </ul>

                        <  ? php wp_nonce_field('groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user') ? >
                    </div>        
                </li>*/
                ?>
            </ol>
        </div>
        <div class="columns two last blank  text-left">
            <div id="thumbs">
            </div>
            <ul id="user-list" class="item-list"></ul>
        </div>

        <div class="clear"></div>
        <div class="submit">
            <input type="submit" id="submit" name="submit" value="<?php _e('Create dedication', 'bp-dedication') ?>">
        </div>                        
        <?php wp_nonce_field('new_dedication', '_wpnonce_new_dedication') ?>

        

    </form>
<?php endif; ?>

<?php do_action('bp_before_group_send_invites_content'); ?>

<div class="clear"></div>