Skip to content

Commit

Permalink
fix: Fixing anchor when canceling edit modal on story mode
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed May 18, 2022
1 parent b03c991 commit 802934a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/fibr/templates/desc-modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ <h2 class="header">Description</h2>
<textarea class="desc-input" name="description">{{ .Exif.Description }}</textarea>
</p>

{{ template "form_buttons" "Update" }}
<p class="padding no-margin center">
<a href="#{{ .ID }}" class="button white">Cancel</a>
<button type="submit" class="button bg-primary">Update</button>
</p>
</form>
</div>
</div>
Expand Down

0 comments on commit 802934a

Please sign in to comment.