Commit 1380dcc6 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix display of create view buttons

parent c2968440
......@@ -199,6 +199,13 @@ a:hover {
font-size: 11px;
color: #FFF;
}
.addicon form,
.addicon form div {
display: inline;
}
.addicon input.submit {
height: 20px;
}
span.addicon a {
background-color: #92b328;
padding: 2px 10px;
......
......@@ -4,7 +4,15 @@
<span class="addicon fr">
{$createviewform}
<a href="{$WWWROOT}view/choosetemplate.php{if $groupid}?group={$groupid}{elseif $institution}?institution={$institution}{/if}">{str tag="copyaview" section="view"}</a>
<form method="post" action="{$WWWROOT}view/choosetemplate.php">
<input type="submit" class="submit" value="{str tag="copyaview" section="view"}">
{if $groupid}
<input type="hidden" name="group" value="{$groupid}">
{$groupid}
{elseif $institution}
<input type="hidden" name="institution" value="{$institution}">
{/if}
</form>
</span>
<h2>{$heading}</h2>
......
Supports Markdown
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