Skip to content
Snippets Groups Projects
Commit ee85cfaf authored by Claas Kazzer's avatar Claas Kazzer :speech_balloon: Committed by Frank Morgner
Browse files

refs #11896

* adds control-label class to forms that require it
parent ed949d35
No related merge requests found
<!-- finc - documentdeliveryservice -- form -->
<div class="row">
<div class="<?=$this->layoutClass('mainbody')?>">
<h2><?=$this->transEsc('DDS::dds_form_headline')?></h2>
......
......@@ -19,15 +19,15 @@
<? if (in_array("item-issue", $this->extraFields)): ?>
<div class="row">
<div id="emailHoldReference" class="emailHoldReference">
<label class="col-sm-3"><?=$this->transEsc('EmailHold::email_hold_volume')?>:</label>
<label class="col-sm-3 control-label"><?=$this->transEsc('EmailHold::email_hold_volume')?>:</label>
<div class="col-sm-9">
<input type="text" name="gatheredDetails[volume]" value="<?=isset($this->gatheredDetails['volume']) ? $this->escapeHtmlAttr($this->gatheredDetails['volume']) : ''?>" class="auto"/><br/>
</div>
<label class="col-sm-3"><?=$this->transEsc('EmailHold::email_hold_issue')?>:</label>
<label class="col-sm-3 control-label"><?=$this->transEsc('EmailHold::email_hold_issue')?>:</label>
<div class="col-sm-9">
<input type="text" name="gatheredDetails[issue]" value="<?=isset($this->gatheredDetails['issue']) ? $this->escapeHtmlAttr($this->gatheredDetails['issue']) : ''?>" class="auto"/><br/>
</div>
<label class="col-sm-3"><?=$this->transEsc('EmailHold::email_hold_year')?>:</label>
<label class="col-sm-3 control-label"><?=$this->transEsc('EmailHold::email_hold_year')?>:</label>
<div class="col-sm-9">
<input type="text" name="gatheredDetails[year]" value="<?=isset($this->gatheredDetails['year']) ? $this->escapeHtmlAttr($this->gatheredDetails['year']) : ''?>" class="auto"/><br/>
</div>
......@@ -37,7 +37,7 @@
<? if (in_array("requiredByDate", $this->extraFields)): ?>
<div class="row">
<label class="col-sm-3"><?=$this->transEsc("EmailHold::hold_required_by")?>:</label>
<label class="col-sm-3 control-label"><?=$this->transEsc("EmailHold::hold_required_by")?>:</label>
<div class="col-sm-9">
<input id="requiredByDate" type="text" name="gatheredDetails[requiredBy]" value="<?=(isset($this->gatheredDetails['requiredBy']) && !empty($this->gatheredDetails['requiredBy'])) ? $this->escapeHtmlAttr($this->gatheredDetails['requiredBy']) : $this->escapeHtmlAttr($this->defaultRequiredDate)?>" size="8" class="auto"/>
(<?=$this->dateTime()->getDisplayDateFormat()?>)
......@@ -57,7 +57,7 @@
$selected = $this->defaultPickup;
}
?>
<label class="col-sm-3"><?=$this->transEsc("EmailHold::pick_up_location")?>:</label>
<label class="col-sm-3 control-label"><?=$this->transEsc("EmailHold::pick_up_location")?>:</label>
<div class="col-sm-9">
<select name="gatheredDetails[pickUpLocation]" class="form-control">
<? if ($selected === false): ?>
......@@ -80,7 +80,7 @@
<? if (in_array("comments", $this->extraFields)): ?>
<div class="row">
<label class="col-sm-3"><?=$this->transEsc("Comments")?>:</label>
<label class="col-sm-3 control-label"><?=$this->transEsc("Comments")?>:</label>
<div class="col-sm-9">
<textarea rows="3" cols="20" name="gatheredDetails[comment]" class="auto"><?=isset($this->gatheredDetails['comment']) ? $this->escapeHtml($this->gatheredDetails['comment']) : ''?></textarea>
</div>
......
......@@ -17,13 +17,13 @@
<?=$this->translate('PDA::pda_delivery_text')?>
</p>
<div class="form-group">
<label class="col-sm-4" for="pdaStatement"><?=$this->transEsc('PDA::pda_form_statement_label')?><span class="required">*</span>:</label>
<label class="col-sm-4 control-label" for="pdaStatement"><?=$this->transEsc('PDA::pda_form_statement_label')?><span class="required">*</span>:</label>
<div class="col-sm-8">
<textarea id="pdaStatement" class="auto" name="pdaStatement" rows="5" type="text" cols="46"><?=isset($this->pdaStatement) ? $this->pdaStatement : ''?></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-4" for="pdaSubject"><?=$this->transEsc('PDA::pda_form_field_of_study_label')?><span class="required">*</span>:</label>
<label class="col-sm-4 control-label" for="pdaSubject"><?=$this->transEsc('PDA::pda_form_field_of_study_label')?><span class="required">*</span>:</label>
<div class="col-sm-8">
<select name="pdaFieldOfStudy" class="form-control">
<option value="-1"><?=$this->transEsc('PDA::pda_form_field_of_study_text')?></option>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment