Set slugify to be global Update modification date only if text has been changed Fix a bug in preview (post_id was passed instead of blog_id) Add Home, Category and Tag links in blog area instead of global area (dynastie template) Fix a bug in Have_I_right
		
			
				
	
	
		
			18 lines
		
	
	
		
			752 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			752 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "templates/base.html" %}
 | 
						|
 | 
						|
{% block head %}
 | 
						|
<script type="text/javascript" src="/static/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
 | 
						|
<script type="text/javascript">
 | 
						|
  var external_list = "/tinyMCEExternalList/post/add/{{ blog_id }}";
 | 
						|
</script>
 | 
						|
<script type="text/javascript" src="/static/js/dynastie.js"></script>
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block content %}
 | 
						|
<form id="previewForm" action="/post/add/{{ blog_id }}" method="post">{% csrf_token %}
 | 
						|
{{ form.as_p }}
 | 
						|
  <textarea name="content" class="mceAdvanced"></textarea><br/><br/>
 | 
						|
<input type="submit" name="add" value="Add" /><input type="button" name="preview" value="Preview" onClick="previewPost({{ blog_id }});"/><input type="submit" name="cancel" value="Cancel" />
 | 
						|
</form>
 | 
						|
{% endblock %}
 |