3
* Spring Signage Ltd - http://www.springsignage.com
4
* Copyright (C) 2015 Spring Signage Ltd
7
$formFields[] = Form::AddText('resolution', __('Resolution'), $resolution->resolution,
8
__('A name for this Resolution'), 'r', 'required');
10
$formFields[] = Form::AddNumber('width', __('Width'), $resolution->width,
11
__('The Width for this Resolution'), 'w', 'required');
13
$formFields[] = Form::AddNumber('height', __('Height'), $resolution->height,
14
__('The Height for this Resolution'), 'h', 'required');
16
$formFields[] = Form::AddCheckbox('enabled', __('Enable?'), $resolution->enabled,
17
__('Is the Resolution enabled for use?'), 'e');
20
{% extends "form-base.twig" %}
21
{% import "forms.twig" as forms %}
27
{% block formButtons %}
28
{% trans "Save" %}, $("#<<id>>").submit()
29
{% trans "Cancel" %}, XiboDialogClose()
30
{% trans "Help" %}, XiboHelpRender("{{ help }}")
35
<div class="col-md-12">
36
<form id="<<id>>" class="XiboForm form-horizontal" method="put" action="{{ urlFor("resolution.edit", {"id": resolution.resolutionId}) }}">
b'\\ No newline at end of file'