~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<tal:open-tag replace="structure view/open_tag"/>
<tal:prefix replace="view/prefix"/><span class="value" tal:content="view/value">Unset</span>
    <span tal:condition="view/can_write">
      &nbsp;
      <a tal:attributes="href view/edit_url;
                         title view/edit_title"
         class="editicon sprite edit"></a>
    </span>
<tal:close-tag replace="structure view/close_tag"/>

<script tal:condition="view/can_write"
        tal:content="structure string:
LPS.use('lp.app.choice', function(Y) {
    Y.lp.app.choice.addBinaryChoice(
        ${view/json_config},
        ${view/json_resource_uri},
        ${view/json_attribute});
});
"/>