mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
15
app/views/admins/agreements/edit.html.erb
Normal file
15
app/views/admins/agreements/edit.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<% 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>
|
||||
Reference in New Issue
Block a user