{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}

{% block modal-body-right %}
  <h3>{% trans "Description:" %}</h3>
  <p>{% trans "A profile encodes the information needed for node creation." %}</p>
  <a target="_blank" href="https://github.com/openstack/senlin/tree/master/examples/profiles">
    {% trans "Profile Spec Examples" %}
  </a>
{% endblock %}

{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}

{% block form_id %}create_profile_form{% endblock %}
{% block form_action %}{% url 'horizon:cluster:profiles:create' %}{% endblock %}
{% block form_attrs %}enctype="multipart/form-data"{% endblock %}

{% block modal-body-right %}
  <h3>{% trans "Description:" %}</h3>
  <p>{% trans "A profile encodes the information needed for node creation." %}</p>
  <a target="_blank" href="https://github.com/openstack/senlin/tree/master/examples/profiles">
    {% trans "Profile Spec Examples" %}
  </a>
{% endblock %}

Fix senlin profile create through file upload.
Fix senlin profile create through file upload.

The senlin profile create is failing to pass the file name on form submit
due to missing encode type in the POST request.

Change-Id: I2a3d1a34725e60b6f59c355980fa48be580eceec
