Managing Templates & Clauses
Rentablez builds contracts from a modular library. You write Clauses (individual pieces of legal text) once, then combine them into Templates. When you generate a contract, Rentablez assembles the template’s clauses and swaps in real values, so your team never re-types terms or forgets a key clause.
Both live in the Contracts module as tabs: open Contracts, then switch between the Clause Library and Templates tabs.
Creating and editing clauses and templates requires the contract.write permission. Read-only users can view the library but won’t see the create, edit, seed, or delete actions.
The Clause Library
Open the Clause Library tab. This is your master list of reusable clauses, shared across every template.
Seed the defaults (first-time setup)
If your library is empty, click Seed Default Data (also shown as Seed Default Clauses in the empty state) to load a starter set of standard rental clauses and categories. You only need to do this once.
Seeded clauses and categories are marked System. System clauses and categories are locked — their edit, delete, and Required/Optional toggle are disabled. Use them as-is, or add your own custom clauses alongside them.
Add a custom clause
- Click + Add Custom Clause.
- Clause Title — e.g., “Payment Terms” or “Equipment Modification Restrictions”.
- Clause Type — choose Required or Optional. Required clauses are meant to always appear; optional ones can be switched off per template.
- Clause Text — write the body in the rich editor. Use the Insert Table button for tabular layouts (like vehicle particulars), and + Insert Variable to drop placeholders such as
{{customer_name}}that get replaced with real values when a contract is generated. - Category — assign a category (e.g., “Financial,” “Liability”) so clauses stay easy to search and filter.
- Click Save Clause.
Find, edit, and organize clauses
- Use the search box and the category dropdown at the top to filter the list.
- Each clause card shows a Required / Optional toggle, an edit button, and a delete button. These are available on your own clauses only — system clauses are read-only.
- Click Manage Categories to add, rename, or delete categories. System categories are locked; your own can be edited or removed.
Templates
Open the Templates tab. A template is an ordered collection of clauses. When you generate a contract, Rentablez prints a copy of the chosen template with values filled in.
Create a template
- Click + Create Template (or the Create Custom Template card).
- Template Name — e.g., “Corporate Video Rental Agreement”.
- Description — optional, to help your team pick the right one.
- Start From — choose Start from scratch, or Clone existing template and pick a template to copy. Cloning duplicates all of the source template’s clauses so you can tweak from a known-good starting point.
- Click Create Template.
Add and manage clauses on a template
Click Edit on a template card to open the editor. The right-hand Template Clauses panel is where you build the clause list:
- Click + Add Clause to pick clauses from your library. Only clauses not already on the template appear in the picker.
- Each clause shows its Required / Optional label and an enable/disable toggle — turn a clause off to drop it from generated contracts without removing it from the template.
- Click the edit icon on a clause to open Clause Text Override. Text you enter here replaces the library wording for this template only (the card shows a “Custom text applied” badge). Leave it empty to inherit the library version.
- Click the remove icon to take a clause off the template. This never affects contracts already generated.
The Summary panel tracks total, enabled, and disabled clause counts, plus how many agreements use the template.
There is no drag-to-reorder here. Clauses appear in the order they were added (labelled Clause 1, Clause 2, and so on). To change the sequence, remove and re-add clauses in the order you want.
Template settings (left panel)
In the editor’s Template Details panel you can set:
- PDF Layout — Standard, Stamp Paper — First Page, or Stamp Paper — All Pages. The stamp-paper modes reserve space at the top of the page for a physical stamp or seal (First Page = page 1 only; All Pages = every page, for Indian stamp-paper compliance).
- Use Custom Content Only — when on, hides the default BETWEEN / WHEREAS / NOW THEREFORE boilerplate so only your clauses appear in the PDF.
- Set as Default — auto-selects this template when generating contracts. Turn it on to reveal the Default Scope options.
Click Save Template to apply.
Scoping a default template
When Set as Default is on, you can narrow when it applies with three optional filters — leave any blank for “all”:
- Contract Type — all types, Order Contracts only, or Master Agreements only.
- Asset Category — restrict to one category.
- Branch / Location — restrict to one branch.
The most-specific match wins. For example, a default scoped to Vehicles + Branch A beats a global default for vehicle orders at Branch A, while the global default still applies everywhere else. The card’s Default badge shows the active scope.
Editing a library clause updates all future contracts generated from templates that use it. Contracts already signed or generated keep the wording they were created with. A per-template clause override always takes precedence over the library text for that template.