Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 561 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 561 Bytes

FFFields

Craft CMS fields for the front-end.

Usage

This is all you need to get a field layout in your front end templates:

{% includeCssFile resourceUrl('fffields/dist/main.css') %}

<form method="post" accept-charset="UTF-8">
  {{ getCsrfInput() }}
  <input type="hidden" name="action" value="entries/saveEntry">
  <input type="hidden" name="entryId" value="{{ entry.id }}">
  
  {{ craft.fffields.render(entry) }}
  
  <button type="submit" class="ui button">Save</button>
</form>

{% includeJsFile resourceUrl('fffields/dist/main.js') %}