<script type="text/javascript">
  var localDomains = "";
  $(document).ready(function() {
    $.validationEngineLanguage.newLang(localDomains);
    $('#send_moderater').validationEngine();
  });
</script>
<h2>決裁却下</h2>
<p>却下理由を記載してください。</p>
<%= form_with(model: @send_moderater, url: {action: :create, id: params[:id]},
  id: 'send_moderater', method: :post, html: {name: "send_moderater"},
  data: { turbo: true, turbo_confirm: 'この内容を送信します。よろしいですか?' }) do |f| %>
  <%= f.hidden_field :result, {value: 2} %>
  <div class="table-a">
    <div class="item-top">送信者へのメッセージ</div>
    <div class="input-top"><%= f.text_area :content, cols: "40", rows: '5', class: "validate[maxSize[3000]]" -%>
    </div>
    <div class="item-mid"></div>
    <div class="input-mid">
      <div class="table-d" style="border:0px;">
        <div class="input-l" style="border:0px;">
          <%= f.submit "送　信" %>
        </div>
        <div class="input-r" style="border:0px;">
        </div>
      </div>
    </div>
  </div>
<% end -%>
<br />
<div class="table-d" style="border:0px;">
  <div class="input-l" style="border:0px;">
    <%= link_to "戻　る", action: :index, id: params[:id] %>
  </div>
  <div class="input-r" style="border:0px;">
  </div>
</div>
<br />