diff options
Diffstat (limited to 'templates/pad_change.html')
-rw-r--r-- | templates/pad_change.html | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/templates/pad_change.html b/templates/pad_change.html index be72486..e4635e5 100644 --- a/templates/pad_change.html +++ b/templates/pad_change.html @@ -4,11 +4,13 @@ {% block content %} <div class="panel panel-default"> <div class="panel-heading"> - {% if pad %} - <h3 class="panel-title">Edit pad: {{pad.name}}</h3> - {% else %} - <h3 class="panel-title">Create a pad</h3> - {% endif %} + <h3 class="panel-title"> + {% if pad %} + Edit pad: {{pad.name}} + {% else %} + Create a pad + {% endif %} + </h3> </div> <div class="panel-body"> @@ -18,11 +20,13 @@ {% endfor %} <div class="form-group"> <div class="col-lg-10 col-lg-offset-2"> - {% if pad %} - <button type="submit" class="btn btn-primary">Save pad</button> - {% else %} - <button type="submit" class="btn btn-primary">Create pad</button> - {% endif %} + <button type="submit" class="btn btn-primary"> + {% if pad %} + Save pad + {% else %} + Create pad + {% endif %} + </button> </div> </div> </form> |