<div id="sy_popup_box" style="width:380px;">
    <div class="sy_popup_top sy_popup_top_tishi">
        <h3 class="fl">提示</h3>
        <a href="javascript:void(0);" class="sy_icons_close02 fr" onclick="hideModal()"></a>
        <div class="cl"></div>
    </div>
    <div class="sy_popup_con02" >
        <ul class="sy_popup_tishi ">
            <li>
            <% if @flag == 1 %>
                <p>您输入的邀请码错误</p>
            <% elsif @flag == 2 %>
                <p>您已经是该项目成员</p>
            <% elsif @flag == 3 %>
                <p>请选择一个角色</p>
            <% elsif @flag == 4 %>
                <p>您的申请已提交，请等待项目管理员审批</p>
             <% elsif @flag == 5 %>
                <p>您已经申请加入该项目了，请耐心等待</p>
            <% elsif @flag == 6 %>
                <p>您已成功加入项目</p>
            <% end %>
            </li>
            <li>
              <% if @flag == 6 %>
                <%= link_to "知道了", project_path(@project), :class => "sy_btn_blue" %>
              <% else %>
                <a href="javascript:void(0);" class="sy_btn_blue " onclick="hideModal()">知道了</a>
              <% end %>
            </li>
        </ul>
    </div>
</div>