| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <div id="java" class="container-fluid">
- <h1>{{ title }}</h1>
- <form class="form-horizontal" id="workflowForm" action="#list-designs" method="POST">
- <fieldset>
- <div class="control-group" rel="popover" data-original-title="{{ name.name }}" data-content="{{ name.popover }}" data-bind="attr: {'class': ( errors.name().length > 0 ) ? 'control-group error' : 'control-group'}">
- <label class="control-label">{{ name.name }}</label>
- <div class="controls">
- <input id="email-name" type="text" name="name" data-bind="value: name" />
- <ul class="help-inline" data-bind="foreach: errors.name()">
- <li class="error" data-bind="html: $data"></li>
- </ul>
- </div>
- </div>
- <div class="control-group" rel="popover" data-original-title="{{ description.name }}" data-content="{{ description.popover }}" data-bind="attr: {'class': ( errors.description().length > 0 ) ? 'control-group error' : 'control-group'}">
- <label class="control-label">{{ description.name }}</label>
- <div class="controls">
- <input id="email-description" type="text" name="description" data-bind="value: description" />
- <ul class="help-inline" data-bind="foreach: errors.description()">
- <li class="error" data-bind="html: $data"></li>
- </ul>
- </div>
- </div>
- <hr/>
- <div class="control-group">
- <p class="alert alert-info">{{ alert }}</p>
- <p class="alert alert-info">{{ smtp_alert }}</p>
- </div>
- <div class="control-group" rel="popover" data-original-title="{{ to.name }}" data-content="{{ to.popover }}" data-bind="attr: {'class': ( errors.to().length > 0 ) ? 'control-group error' : 'control-group'}">
- <label class="control-label">{{ to.name }}</label>
- <div class="controls">
- <input id="email-to" type="text" name="to" data-bind="value: to" />
- <ul class="help-inline" data-bind="foreach: errors.to()">
- <li class="error" data-bind="html: $data"></li>
- </ul>
- </div>
- </div>
- <div class="control-group" rel="popover" data-original-title="{{ cc.name }}" data-content="{{ cc.popover }}" data-bind="attr: {'class': ( errors.cc().length > 0 ) ? 'control-group error' : 'control-group'}">
- <label class="control-label">{{ cc.name }}</label>
- <div class="controls">
- <input id="email-cc" type="text" name="cc" data-bind="value: cc" />
- <ul class="help-inline" data-bind="foreach: errors.cc()">
- <li class="error" data-bind="html: $data"></li>
- </ul>
- </div>
- </div>
- <div class="control-group" rel="popover" data-original-title="{{ subject.name }}" data-content="{{ subject.popover }}" data-bind="attr: {'class': ( errors.subject().length > 0 ) ? 'control-group error' : 'control-group'}">
- <label class="control-label">{{ subject.name }}</label>
- <div class="controls">
- <input id="email-subject" type="text" name="subject" data-bind="value: subject" />
- <ul class="help-inline" data-bind="foreach: errors.subject()">
- <li class="error" data-bind="html: $data"></li>
- </ul>
- </div>
- </div>
- <div class="control-group" rel="popover" data-original-title="{{ body.name }}" data-content="{{ body.popover }}" data-bind="attr: {'class': ( errors.body().length > 0 ) ? 'control-group error' : 'control-group'}">
- <label class="control-label">{{ body.name }}</label>
- <div class="controls">
- <textarea id="email-body" type="text" name="body" data-bind="value: body"></textarea>
- <ul class="help-inline" data-bind="foreach: errors.body()">
- <li class="error" data-bind="html: $data"></li>
- </ul>
- </div>
- </div>
- </fieldset>
- <div class="form-actions">
- <button data-bind="click: {{ save.func }}" class="btn btn-primary">{{ save.name }}</button>
- <a href="javascript:void(0);" data-bind="click: {{ cancel.func }}" class="btn">{{ cancel.name }}</a>
- </div>
- </form>
- </div>
|