| <!DOCTYPE html> |
| <form action="{{c.project.url()}}admin/{{app.config.options.mount_point}}/set_options" method="post"> |
| <label class="grid-4">Show discussion:</label> |
| <div class="grid-9"> |
| {% if allow_config %} |
| <input type="checkbox" name="show_discussion" id="show_discussion"{% if app.show_discussion %} checked="checked"{% endif %}/> |
| {% else %} |
| <span>{{app.show_discussion}}</span> |
| {% endif %} |
| </div> |
| <label class="grid-4">Show left bar:</label> |
| <div class="grid-9"> |
| {% if allow_config %} |
| <input type="checkbox" name="show_left_bar" id="show_left_bar"{% if app.show_left_bar %} checked="checked"{% endif %}/> |
| {% else %} |
| <span>{{app.show_left_bar}}</span> |
| {% endif %} |
| (to people without edit rights) |
| </div> |
| <label class="grid-4">Show metadata:</label> |
| <div class="grid-9"> |
| {% if allow_config %} |
| <input type="checkbox" name="show_right_bar" id="show_right_bar"{% if app.show_right_bar %} checked="checked"{% endif %}/> |
| {% else %} |
| <span>{{app.show_right_bar}}</span> |
| {% endif %} |
| </div> |
| <div class="grid-13"> </div> |
| <hr> |
| <div class="grid-13"> </div> |
| <div class="grid-13"> |
| {% if allow_config %} |
| <input type="submit" value="Save"/> |
| <a href="#" class="close">Cancel</a> |
| {% endif %} |
| </div> |
| </form> |