Sha256: 5c8c32766da6554e04829b473a850108dd67198992d34b52de00c0c065ab5bc2

Contents?: true

Size: 788 Bytes

Versions: 4

Compression:

Stored size: 788 Bytes

Contents

<div>
    <h3 sp:if="@customer">_(Customer %s) % @customer.name </h3>
    <h3 sp:if="!@customer">_(New customer)</h3>
    <tpl:pass sp:if="!@edit">
        <a href="?edit">_(Edit)</a>
        <a href="{ Master.url }/customers">_(List)</a>
    </tpl:pass>
    <tpl:pass sp:if="@edit">
        <forms:form id="customer_form" model="Spider::Master::Customer" pk="@pk" auto_redirect="true"/>
    </tpl:pass>
    <tpl:pass sp:if="@customer && !@edit">
        <h4>_(Installations)</h4>
        <a href="{ @customer.id }/installations/new">_(New installation)</a>
        <ul>
            <li sp:each="@customer.installs |installation|">
                <a href="{ customer.id }/installations/{ installation.id }">{ installation.name }</a>
            </li>
        </ul>
    </tpl:pass>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spiderfw-0.5.13 apps/master/views/customer.shtml
spiderfw-0.5.12 apps/master/views/customer.shtml
spiderfw-0.5.11 apps/master/views/customer.shtml
spiderfw-0.5.10 apps/master/views/customer.shtml