@:text_input("title", Some("Title"), Some(&aggregation.title)) @:text_area("description", Some("Description"), Some(&aggregation.description)) @:button("Update Aggregation", ButtonKind::Submit) @:button_link("Delete Aggregation", &state.delete_aggregation_path(aggregation_id, token), ButtonKind::Outline)
@:image_preview(entry, state) @entry.title @entry.description @:text_input("title", Some("Title"), Some(&entry.title)) @:text_area("description", Some("Description"), Some(&entry.description)) @:button("Update Image", ButtonKind::Submit) @:button_link("Delete Image", &state.delete_entry_path(aggregation_id, *id, token), ButtonKind::Outline)
Add Image @:file_input("images[]", Some("Select Image"), Some(crate::accept()), false) @:button("Upload", ButtonKind::Submit)