forked from Gitlink/forgeplus
15 lines
519 B
Plaintext
15 lines
519 B
Plaintext
<% define_admin_breadcrumbs do %>
|
|
<% add_admin_breadcrumb('服务协议') %>
|
|
<% end %>
|
|
|
|
<div class="box edit-agreement-container">
|
|
<%= simple_form_for(@doc, url: admins_agreement_path) do |f| %>
|
|
<div class="form-group" id="agreement-editor">
|
|
<%= text_area_tag('agreement', @doc.agreement, style: 'display: none') %>
|
|
</div>
|
|
|
|
<div class="form-row mt-4">
|
|
<%= f.button :submit, value: '保存', class: 'btn-primary mr-3 px-4', 'data-disable-with': '保存中...' %>
|
|
</div>
|
|
<% end %>
|
|
</div> |