2016-11-04 18:43:44 +08:00
|
|
|
<div style="width:460px;">
|
2016-07-28 10:18:35 +08:00
|
|
|
<div class="sy_popup_top">
|
|
|
|
<h3 class="fl">欢迎加入项目</h3>
|
2016-07-28 14:42:36 +08:00
|
|
|
<a href="javascript:void(0);" class="sy_icons_close fr" onclick="hideModal()"></a>
|
2016-07-28 10:18:35 +08:00
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
<div class="sy_popup_con" style="width:370px;">
|
2016-07-29 20:31:24 +08:00
|
|
|
<%= form_tag( url_for(:controller => 'applied_project', :action => 'applied_project_info', :project_id => (@project.nil? ? nil : @project.id)), :remote => true, :id => 'project_applied_form') do %>
|
2016-07-28 10:18:35 +08:00
|
|
|
<ul class="sy_popup_add ">
|
2016-10-21 19:58:02 +08:00
|
|
|
<% if @is_teacher && @is_teacher == 1 %>
|
|
|
|
<li class="none">
|
|
|
|
<label >项目邀请码:</label>
|
|
|
|
<input name="invite_code" class=" sy_input_txt fl" placeholder="请输入六位项目邀请码" value="<%=@project.invite_code %>" style="width:250px"/>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</li>
|
|
|
|
<% else %>
|
|
|
|
<li>
|
|
|
|
<label >项目邀请码:</label>
|
|
|
|
<input name="invite_code" class=" sy_input_txt fl" placeholder="请输入六位项目邀请码" style="width:250px"/>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2016-07-28 10:18:35 +08:00
|
|
|
<li>
|
|
|
|
<label >身份:</label>
|
2016-07-28 14:42:36 +08:00
|
|
|
<input name="member" value="member_manager" type="radio" class="ml5 mr5 " /><span class="mr10">管理人员</span>
|
|
|
|
<input name="member" value="member_developer" type="radio" class="ml5 mr5 " /><span class="mr10">开发人员</span>
|
|
|
|
<input name="member" value="member_reporter" type="radio" class="ml5 mr5 " /><span class="mr10">报告人员</span>
|
2016-07-28 10:18:35 +08:00
|
|
|
<div class="cl"></div>
|
|
|
|
</li>
|
|
|
|
<li>
|
2016-07-29 22:51:13 +08:00
|
|
|
<label class="mr27"> </label>
|
|
|
|
<a href="javascript:void(0);" class="sy_btn_blue fl" onclick="$('#project_applied_form').submit();hideModal()">确 定</a>
|
2016-07-28 10:18:35 +08:00
|
|
|
<a href="javascript:void(0);" class="sy_btn_grey fl ml20" onclick="hideModal()">取 消</a>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2016-11-04 18:43:44 +08:00
|
|
|
</div>
|