feat: add markdown, lang atribute, button_text
This commit is contained in:
@@ -566,6 +566,22 @@ export const RouteEditPage = observer(() => {
|
||||
}}
|
||||
/>
|
||||
|
||||
<Typography variant="subtitle1" sx={{ fontWeight: 600 }}>
|
||||
Текст кнопки обращения
|
||||
</Typography>
|
||||
<TextField
|
||||
value={editRouteData.button_text || ""}
|
||||
onChange={(e) =>
|
||||
routeStore.setEditRouteData({
|
||||
button_text: e.target.value,
|
||||
})
|
||||
}
|
||||
placeholder="Обращение губернатора"
|
||||
fullWidth
|
||||
size="small"
|
||||
helperText="Если пусто, будет использован текст по умолчанию"
|
||||
/>
|
||||
|
||||
<Typography variant="subtitle1" sx={{ fontWeight: 600 }}>
|
||||
Обращение к пассажирам
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user