<!-- Content Header (Page header) -->
<div class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <h1 class="m-0">Dotacje</h1>
      </div>
      <!-- /.col -->
      <div class="col-sm-6"></div>
      <!-- /.col -->
    </div>
    <!-- /.row -->
  </div>
  <!-- /.container-fluid -->
</div>

<div class="content">
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-12">
        <div class="card">
          <div class="card-header">
            <h3 class="card-title"><i class="fas fa-edit"></i> Nowa dotacja</h3>
          </div>

          <div class="card-body">
            <p id="notice"><%= notice %></p>
            <%= form_with(model: @dotation, url: grants_path, local: true) do |form| %>
              <%= render 'form', dotation: @dotation, form: form %>
            <% end %>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
