Commit 5eb1eddc authored by alexandre's avatar alexandre

Fixed meta data editing. A simple typo in the end.

parent b1852662
......@@ -130,7 +130,7 @@ label .label-text {
#score { outline: 0; }
#score::-moz-focus-inner {border:0;} /* firefox */
#score:focus { outline:none; }
#score:focus { outline:none; }
.axis-title .options,
.axis-title .handle {
......@@ -503,3 +503,7 @@ section.hidden {
.expand-level-option:nth-child(6) { background-color: rgb(144,103,167); }
.expand-level-option:nth-child(7) { background-color: rgb(171,104, 87); }
.expand-level-option:nth-child(8) { background-color: rgb(204,194, 16); }
.score-meta dt { margin-top: .5em; font-weight: bold; }
.score-meta dd { margin-left: 0em; }
......@@ -778,8 +778,8 @@ window.W = window.W || {};
title: this.fieldVal('title'),
score_type: this.fieldVal('score_type'),
score_author: this.fieldVal('score_author'),
performance_autor: this.fieldVal('performance_author'),
description: this.fieldVal('description'),
performance_author: this.fieldVal('performance_author'),
presentation: this.fieldVal('presentation'),
effectif: this.fieldVal('effectif'),
stage_set: this.fieldVal('stage_set'),
duration: this.fieldVal('duration'),
......
......@@ -36,7 +36,7 @@ mainline = JSONField(blank=True) -->
<!-- description -->
<label>
<span class="label-text">Présentation: </span>
<textarea name="description"><%= presentation %></textarea>
<textarea name="presentation"><%= presentation %></textarea>
</label>
<!-- effectif = models.CharField(blank=True, max_length=255) -->
......
<header>
<button class="edit">🖉</button>
<div class="home"><a href="../../">index</a></div>
<h1 id="title"><%- title %></h1>
<div id="stage_set">
<%= stage_set %>
</div>
<div class="author"><%= score_author %></div>
<dl class="score-meta">
<dt>Type de partition</dt>
<dd><%= score_type %></dd>
<dt>Auteur de la performance</dt>
<dd><%= performance_author %></dd>
<dt>Auteur de la partition</dt>
<dd><%= score_author %></dd>
<dt>Présentation</dt>
<dd><%= presentation %></dd>
<dt>Effectif</dt>
<dd><%= effectif %></dd>
<dt>Mise</dt>
<dd><%= stage_set %></dd>
<dt>Durée</dt>
<dd><%= duration %></dd>
<dt>Genre</dt>
<dd><%= genre %></dd>
</dl>
<div class="score-actions">
<div id="expand-level-slider"></div>
<button class="unfold">Tout déplier</button>
<button class="fold">Tout plier</button><br /><br />
<button class="save" data-label-progress="Saving..." data-label="Enregistrer" <% if (!hasChanges) { %>disabled<% } %>>Enregistrer</button>
<button class="duplicate">Dupliquer</button>
<button class="delete">Supprimer</button>
</div>
<div id="expand-level-slider"></div>
<button class="unfold">Tout déplier</button>
<button class="fold">Tout plier</button><br /><br />
<button class="save" data-label-progress="Saving..." data-label="Enregistrer" <% if (!hasChanges) { %>disabled<% } %>>Enregistrer</button>
<button class="duplicate">Dupliquer</button>
<button class="delete">Supprimer</button>
</div>
<form></form>
</header>
<ol></ol>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment