Skip to content

Commit

Permalink
Add headings to minimal pages, fix #265
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Jun 30, 2015
1 parent e69371d commit d8972ab
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions application/view/omeka/install/index.phtml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php $this -> htmlElement('body')->appendAttribute('class', 'install'); ?>
<?php $this->htmlElement('body')->appendAttribute('class', 'install'); ?>
<?php
$form->prepare();
$form->setAttribute('action', $this->url('install'));
$form->setAttribute('method', 'post');
echo $this->form()->openTag($form);
?>
<h1>Install Omeka S</h1>
<?php echo $this->form()->openTag($form); ?>

<?php echo $this->formElements($form); ?>
<button>Install</button>
<?php echo $this->form()->closeTag(); ?>
3 changes: 3 additions & 0 deletions application/view/omeka/login/create-password.phtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php
$this->htmlElement('body')->appendAttribute('class', 'activate');
$form->prepare();
?>
<h1>Create a New Password</h1>
<?php
echo $this->form()->openTag($form);
echo $this->formElements($form);
?>
Expand Down
3 changes: 3 additions & 0 deletions application/view/omeka/login/forgot-password.phtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php
$this->htmlElement('body')->appendAttribute('class', 'forgot-password');
$form->prepare();
?>
<h1>Forgot Password</h1>
<?php
echo $this->form()->openTag($form);
echo $this->formElements($form);
?>
Expand Down
3 changes: 2 additions & 1 deletion application/view/omeka/login/login.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
$this->htmlElement('body')->appendAttribute('class', 'login');
$form->prepare();
$formLabel = $this->plugin('formLabel');
echo $this->form()->openTag($form);
?>
<h1>Login</h1>
<?php echo $this->form()->openTag($form); ?>
<div class="field">
<div class="field-meta">
<?php
Expand Down

0 comments on commit d8972ab

Please sign in to comment.