<%= form_with(model: partner, local: true) do |form| %>
<%= render '/shared/errors_list', error_object: partner %>
<div class="form-group">
  <%= form.label :name %>
  <%= form.text_field :name, class: 'form-control', placeholder: 'Wprowadź nazwę' %>
</div>
 <div class="form-group">
   <%= form.label :description %>
   <%= form.text_area :description, class: 'form-control', placeholder: 'Wprowadź opis' %>
</div>
<div class="form-group">
  <%= form.label :link_url %>
  <%= form.text_field :link_url, class: 'form-control', placeholder: 'Wprowadź e-mail do powiadomień' %>
</div>
<div class="form-group">
  <div class="custom-file">
    <%= form.label :logo %>
    <%= form.file_field :logo, class: 'custom-file input' %>
  </div>
</div>
<div class="card-footer">
  <%= link_to '< Wróć', partners_path, class: 'btn btn-info' %>
  <button type="submit" class="btn btn-primary">Zapisz</button>
</div>
<% end %>
