scinote-web/app/views/access_permissions/projects/edit.html.erb

24 lines
1.1 KiB
Text

<div class="modal fade"
tabindex="-1"
role="dialog">
<%= bootstrap_form_tag(url: access_permissions_project_path(@project), remote: true) do |f| %>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><%=t 'zip_export.modal_label' %></h4>
</div>
<div class="modal-body">
<div><%=t('zip_export.repository_header_html', repository: repository.name) %></div>
<div class="custom-alert-info"><%=t 'zip_export.files_alert' %></div>
<div><%=t 'zip_export.repository_footer_html' %></div>
</div>
<div class="modal-footer">
<button type='button' class='btn btn-default' data-dismiss='modal' id='close-modal-export-repositories'><%= t('general.cancel')%></button>
<%= f.submit t('my_modules.repository.export'), id: "export-repositories", class: "btn btn-success" %>
</div>
</div>
</div>
<% end %>
</div>