2013-06-11 16:31:02 +02:00
|
|
|
{{! Client-side Mustache template for rendering the message edit form. }}
|
2013-05-15 00:22:16 +02:00
|
|
|
|
2013-05-21 19:12:27 +02:00
|
|
|
<form id="message_edit_form" class="form-horizontal">
|
2013-05-15 00:22:16 +02:00
|
|
|
{{#if is_stream}}
|
2013-05-21 19:12:27 +02:00
|
|
|
<div class="control-group">
|
2016-05-12 13:53:41 +02:00
|
|
|
<label class="control-label edit-control-label" for="message_edit_topic">{{t "Topic" }}</label>
|
2013-05-21 19:12:27 +02:00
|
|
|
<div class="controls edit-controls">
|
2013-10-08 13:21:53 +02:00
|
|
|
<input type="text" value="{{topic}}" class="message_edit_topic" id="message_edit_topic" />
|
2013-09-13 18:12:29 +02:00
|
|
|
<select class='message_edit_topic_propagate' style='display:none;'>
|
2016-05-12 13:53:41 +02:00
|
|
|
<option selected="selected" value="change_one"> {{t "Change only this message topic" }}</option>
|
|
|
|
<option value="change_later"> {{t "Change later messages to this topic" }}</option>
|
|
|
|
<option value="change_all"> {{t "Change previous and following messages to this topic" }}</option>
|
2013-09-13 18:12:29 +02:00
|
|
|
</select>
|
2013-05-21 19:12:27 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-05-15 00:22:16 +02:00
|
|
|
{{/if}}
|
2013-05-21 19:12:27 +02:00
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls edit-controls">
|
|
|
|
<textarea class="message_edit_content" id="message_edit_content">{{content}}</textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls edit-controls">
|
2016-05-12 13:53:41 +02:00
|
|
|
<button type="button" class="message_edit_save btn btn-primary btn-small">{{t "Save" }}</button>
|
|
|
|
<button type="button" class="message_edit_cancel btn btn-default btn-small">{{t "Cancel" }}</button>
|
2013-05-21 19:12:27 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-16 23:45:13 +02:00
|
|
|
<div class="alert alert-error edit_error hide"></div>
|
2013-05-15 00:22:16 +02:00
|
|
|
</form>
|