{% extends "base.html" %}

{% block title %}Rozwinięcia typów fraz{% endblock %}

{% block extrahead %}
  <script type="text/javascript" src="{{ STATIC_URL }}js/arg_realizations.js"></script>
{% endblock %}

{% block content %}
<br/>
<table class='ArgRealViewTable'>
	<tr> 
	  <td>
	    <strong>Główny typ frazy:</strong>
	       <div id='main-argument'></div>
	       {% if  perms.dictionary.create_realization %}
	         <strong>Dodawanie rozwinięć typu frazy:</strong>
		     <div id='realization-type'>
				<select id='realization-type-select'>
			  	  {% for type in realization_types %}
			        <option value="{{ type.sym_name }}">{{ type.name }}</option>
				  {% endfor %}
			    </select> 
		     </div>
	         <div id='create-realization'></div>
	         <div id='modify-realization-dialog'></div>
	       {% endif %}
	  </td> 
	  <td>
	    <div id='realizations'></div>
	  </td>
	</tr>
	<tr>
	  <td colspan=2>
	    <strong>Pobierz rozwinięcia typów fraz w postaci pliku tekstowego:</strong>
	       <button type="button" id="get-realizations" style="width:120px">Pobierz</button>
	     </td>
	</tr>
</table>
{% endblock %}
