31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
|
|
||
|
<div id="popbox_upload" class="mb10" style="margin-top: -30px;color:#15bccf; font-size:16px;">
|
||
|
<div class="upload_con">
|
||
|
<h2 style="text-align: center"><%= l(:label_upload_files)%></h2>
|
||
|
<div class="upload_box">
|
||
|
<%= error_messages_for 'attachment' %>
|
||
|
<div id="network_issue" style="color: red; display: none;"><%= l(:label_file_upload_error_messages)%></div>
|
||
|
|
||
|
<%= form_tag(org_subfield_files_path(org_subfield), :multipart => true,:remote => !ie8?,:name=>"upload_form") do %>
|
||
|
<!-- <label style="margin-top:3px;"><#%= l(:label_file_upload)%></label> -->
|
||
|
<!--<input type="hidden" name="in_org_subfield_toolbar" value="Y">-->
|
||
|
<input type="hidden" name="org_subfield_attachment_type" value="<%= org_subfield_attachment_type%>">
|
||
|
<%= render :partial => 'files/attachement_list',:locals => {:org_subfield => org_subfield} %>
|
||
|
<div class="cl"></div>
|
||
|
<a href="javascript:void(0);" class=" fr grey_btn mr40" onclick="hideModal();"><%= l(:button_cancel)%></a>
|
||
|
<a id="submit_resource" href="javascript:void(0);" class="blue_btn fr" onclick="submit_resource();"><%= l(:button_confirm)%></a>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= javascript_include_tag 'attachments' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
function submit_resource()
|
||
|
{
|
||
|
$('#submit_resource').parent().submit();
|
||
|
}
|
||
|
</script>
|