pub fn csrf_inject_hidden_inputs(
_app_root: &Path,
html: &str,
csrf_token: &str,
) -> StringExpand description
Adds the CSRF hidden-input fragment to POST forms without altering other markup.
§Parameters
_app_root: Input consumed bycrate::runtime::dynamic::csrf_inject_hidden_inputs.html: Input consumed bycrate::runtime::dynamic::csrf_inject_hidden_inputs.csrf_token: Input consumed bycrate::runtime::dynamic::csrf_inject_hidden_inputs.
§Returns
Returns the computed value produced by crate::runtime::dynamic::csrf_inject_hidden_inputs.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::csrf_inject_hidden_inputs(todo!(), todo!(), todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.